Fix init_arena_from_context

This commit is contained in:
Ginger Bill
2017-01-03 20:35:47 +00:00
parent b76f6a8c27
commit c8f99b360f
+1 -1
View File
@@ -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;
}