This commit is contained in:
gingerBill
2019-12-01 18:57:43 +00:00
parent ebe152a155
commit ee78374281
+1 -1
View File
@@ -200,7 +200,7 @@ heap_allocator_proc :: proc(allocator_data: rawptr, mode: mem.Allocator_Mode,
// NOTE(bill): Does nothing // NOTE(bill): Does nothing
case .Resize: case .Resize:
return heap_resize(ptr, size); return heap_resize(old_memory, size);
} }
return nil; return nil;