diff --git a/allocator.odin b/allocator.odin index e32ef52..76a1584 100644 --- a/allocator.odin +++ b/allocator.odin @@ -27,7 +27,7 @@ TrackedAllocator :: proc( new_memory, error := self.backing_allocator.procedure(self.backing_allocator.data, mode, size, alignment, old_memory, old_size, location); if error == .None { switch mode { - case .Alloc: + case .Alloc, .Alloc_Non_Zeroed: if new_memory != nil { if self.callstack_enable { ___tracy_emit_memory_alloc_callstack(raw_data(new_memory), c.size_t(size), self.callstack_size, 1); @@ -57,8 +57,6 @@ TrackedAllocator :: proc( // TODO case .Query_Features: // TODO - case .Alloc_Non_Zeroed: - // TODO } } return new_memory, error;