From a66009810652dbf5edae7e5224270cd11445624f Mon Sep 17 00:00:00 2001 From: flysand7 Date: Wed, 24 Jan 2024 15:51:47 +1100 Subject: [PATCH] os2: Add .Resize_Non_Zeroed allocation mode to os2/heap_windows --- core/os/os2/heap_windows.odin | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/os/os2/heap_windows.odin b/core/os/os2/heap_windows.odin index eba403c1d..4afc016a0 100644 --- a/core/os/os2/heap_windows.odin +++ b/core/os/os2/heap_windows.odin @@ -85,7 +85,7 @@ _heap_allocator_proc :: proc(allocator_data: rawptr, mode: mem.Allocator_Mode, case .Free_All: return nil, .Mode_Not_Implemented - case .Resize: + case .Resize, .Resize_Non_Zeroed: if old_memory == nil { return aligned_alloc(size, alignment, true) }