aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDanielGavin <danielgavin5@hotmail.com>2022-11-04 01:01:26 +0100
committerGitHub <noreply@github.com>2022-11-04 01:01:26 +0100
commit7596e0491d289530b17f3490b38612546088ef4a (patch)
tree42ea9940a8de22537ae11d80c044843ed66bd9e0
parent79b34ae986c713f7786f7f89575330fc40044d6e (diff)
parentb66acc5e24611001b07ed73445b851f54769809a (diff)
Merge pull request #164 from thePHTest/master
handle .Alloc_Non_Zeroed in latest Odin
-rw-r--r--src/common/allocator.odin2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/allocator.odin b/src/common/allocator.odin
index c231102..2f4f784 100644
--- a/src/common/allocator.odin
+++ b/src/common/allocator.odin
@@ -67,7 +67,7 @@ scratch_allocator_proc :: proc(
size := size
switch mode {
- case .Alloc:
+ case .Alloc, .Alloc_Non_Zeroed:
size = mem.align_forward_int(size, alignment)
switch {