gingerBill 5 years ago
parent
commit
ee78374281
1 changed files with 1 additions and 1 deletions
  1. 1 1
      core/os/os.odin

+ 1 - 1
core/os/os.odin

@@ -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;