Allocator_Error.Mode_Not_Implemented; Minor improvement to map runtime procedures

This commit is contained in:
gingerBill committed 2021-08-08 14:29:45 +01:00
1 parent a5605e94b1
commit 4d00c2b800
6 files changed
+41 -120

No files matched your search

+1 -1
View File
@@ -84,7 +84,7 @@ _heap_allocator_proc :: proc(allocator_data: rawptr, mode: mem.Allocator_Mode,
aligned_free(old_memory);
case .Free_All:
// NOTE(tetra): Do nothing.
return nil, .Mode_Not_Implemented;
case .Resize:
if old_memory == nil {