commit 236f8ef1d2c0febf3d8c5740c1815ea540ff1d9f parent 3058739cd357329a7d0d650f064e2bb779c9d305 Author: Michael Savage <mikejsavage@gmail.com> Date: Fri Oct 14 20:14:36 +0300 Don't blow the stack on Windows Diffstat:
pp.cc | | | 2 | +- |
diff --git a/pp.cc b/pp.cc @@ -222,8 +222,8 @@ static void write_tile( "%s/%d_%d_normals.lz4", dir.c_str(), tx, ty ); } +static u8 arena_memory[ megabytes( 1 ) ]; int main( int argc, char ** argv ) { - u8 arena_memory[ megabytes( 1 ) ]; MemoryArena arena; memarena_init( &arena, arena_memory, array_count( arena_memory ) );