diff options
| author | nasr <nsrddyn@gmail.com> | 2026-10-09 12:37:56 +0200 |
|---|---|---|
| committer | nasr <nsrddyn@gmail.com> | 2026-10-09 12:37:56 +0200 |
| commit | 9a2fe3e091849518f3d2f79114ba67fa4fc63adf (patch) | |
| tree | 62678a2ff13752d8f8916aca8b6ff70d9bbd6d80 /source/base/base_arena.cpp | |
| parent | e467661baf3d035fb4726559abee52a0c8897ab0 (diff) | |
feature: window with sqaures etc etcmain
Diffstat (limited to 'source/base/base_arena.cpp')
| -rw-r--r-- | source/base/base_arena.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/base/base_arena.cpp b/source/base/base_arena.cpp index b4235e6..759080c 100644 --- a/source/base/base_arena.cpp +++ b/source/base/base_arena.cpp | |||
| @@ -125,7 +125,7 @@ arena_resize_block_align(MemArena *arena, void *old_memory, u64 new_size, u64 ol | |||
| 125 | if((arena->base_position + arena->previous_position) == old_memory) { | 125 | if((arena->base_position + arena->previous_position) == old_memory) { |
| 126 | arena->current_position = arena->previous_position + new_size; | 126 | arena->current_position = arena->previous_position + new_size; |
| 127 | if(new_size > old_size) { | 127 | if(new_size > old_size) { |
| 128 | MemSet(&arena->current_position, new_size - old_size); | 128 | MemSetZero(old_mem + old_size, new_size - old_size); |
| 129 | } | 129 | } |
| 130 | 130 | ||
| 131 | return (MemArena *)old_memory; | 131 | return (MemArena *)old_memory; |
