commit 1f74f7de0a1c5e4fa56eb79bcb89de0068c99883 parent 9a166fb3216eb920f3440d196784a9687b9bf480 Author: Michael Savage <mikejsavage@gmail.com> Date: Sat Sep 5 21:55:07 +0200 Don't crash when we rebuild bsp.so Diffstat:
bsp.cc | | | 2 | +- |
diff --git a/bsp.cc b/bsp.cc @@ -331,7 +331,7 @@ extern "C" GAME_FRAME( game_frame ) { bspr_render( &state->bspr, state->pos ); - immediate_clear( &imm ); + immediate_init( &imm, triangles, array_count( triangles ) ); immediate_sphere( &imm, glm::vec3( 0, 0, 0 ), 128, glm::vec4( 1, 1, 0, 1 ) ); if( input->keys[ 't' ] ) {