Introduce temp memory to free memory leaks
This commit is contained in:
+1
-1
@@ -165,7 +165,7 @@ i32 main(void)
|
||||
*/
|
||||
Memory memory = {0};
|
||||
MemoryIndex persistentSize = MEGABYTES(32);
|
||||
MemoryIndex transientSize = MEGABYTES(32);
|
||||
MemoryIndex transientSize = MEGABYTES(64);
|
||||
|
||||
memory.persistentSize = persistentSize;
|
||||
memory.persistent = PLATFORM_MEM_ALLOC_(NULL, persistentSize, u8);
|
||||
|
||||
Reference in New Issue
Block a user