summaryrefslogtreecommitdiff
path: root/src/std/mem.c
diff options
context:
space:
mode:
authorJoshua Rowe <17525998+omnisci3nce@users.noreply.github.com>2024-04-21 11:48:06 +1000
committerGitHub <noreply@github.com>2024-04-21 11:48:06 +1000
commitd8b564ffd1257152094966784a8db3d1396a8879 (patch)
treeadbbda6eec38d0cd6f35f29e422debe09b807461 /src/std/mem.c
parent45f035c2174a018444a4e495ec78b4806900d903 (diff)
parent540bdfd0cbe4a95b49281cec4d3ed207070a3b5b (diff)
Merge pull request #10 from omnisci3nce/cel-41-port-over-a-basic-3d-scene-example
Cel 41 port over a basic 3d scene example
Diffstat (limited to 'src/std/mem.c')
-rw-r--r--src/std/mem.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/std/mem.c b/src/std/mem.c
index d7c0f4c..00f9c39 100644
--- a/src/std/mem.c
+++ b/src/std/mem.c
@@ -11,7 +11,7 @@
void* arena_alloc_align(arena* a, size_t size, size_t align) {
ptrdiff_t padding = -(uintptr_t)a->curr & (align - 1);
ptrdiff_t available = a->end - a->curr - padding;
- TRACE("Padding %td available %td", padding, available);
+ // TRACE("Padding %td available %td", padding, available);
if (available < 0 || (ptrdiff_t)size > available) {
ERROR_EXIT("Arena ran out of memory\n");
}