mirror of
https://github.com/Ed94/Odin.git
synced 2026-06-30 17:21:49 -07:00
Fix init_arena_from_context
This commit is contained in:
+1
-1
@@ -138,7 +138,7 @@ init_arena_from_memory :: proc(using a: ^Arena, data: []byte) {
|
||||
|
||||
init_arena_from_context :: proc(using a: ^Arena, size: int) {
|
||||
backing = context.allocator;
|
||||
memory = new_slice(byte, 0, size);
|
||||
memory = new_slice(byte, size);
|
||||
temp_count = 0;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user