commit 00c4e54383f405a79793a0abaf55124dd1b02025 parent b093f5af9873393cc083c63d05261e4138645840 Author: Michael Savage <mikejsavage@gmail.com> Date: Tue May 9 00:12:41 +0300 Fix stack overflow on Windows Diffstat:
hm.cc | | | 2 | +- |
diff --git a/hm.cc b/hm.cc @@ -234,7 +234,7 @@ extern "C" GAME_FRAME( game_frame ) { { ImmediateContext imm; - ImmediateTriangle sphere[ 4096 ]; + static ImmediateTriangle sphere[ 4096 ]; immediate_init( &imm, sphere, ARRAY_COUNT( sphere ) ); float t;