diff options
| author | Colin Davidson <colrdavidson@gmail.com> | 2023-12-04 03:09:13 -0800 |
|---|---|---|
| committer | Colin Davidson <colrdavidson@gmail.com> | 2023-12-04 03:09:13 -0800 |
| commit | bfbeb23f5479af375ceea6d97d2add64a6bc6519 (patch) | |
| tree | 8f6e945eea01111bd783bc626280a2672700c0e4 /core/runtime/default_allocators_windows.odin | |
| parent | 58e4a011c72d268ca35d46d2288d5858677e9cac (diff) | |
add resize non zeroed in more places
Diffstat (limited to 'core/runtime/default_allocators_windows.odin')
| -rw-r--r-- | core/runtime/default_allocators_windows.odin | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/runtime/default_allocators_windows.odin b/core/runtime/default_allocators_windows.odin index a78a4d04e..1b0f78428 100644 --- a/core/runtime/default_allocators_windows.odin +++ b/core/runtime/default_allocators_windows.odin @@ -19,7 +19,7 @@ when ODIN_DEFAULT_TO_NIL_ALLOCATOR { case .Free_All: return nil, .Mode_Not_Implemented - case .Resize: + case .Resize, .Resize_Non_Zeroed: data, err = _windows_default_resize(old_memory, old_size, size, alignment) case .Query_Features: @@ -41,4 +41,4 @@ when ODIN_DEFAULT_TO_NIL_ALLOCATOR { data = nil, } } -}
\ No newline at end of file +} |