commit 62dd1b8771abecf29f6a68219dcf76b4f49e71fc parent c3e38a7abf279b2a487d7221689266b6f4997370 Author: Michael Savage <mikejsavage@gmail.com> Date: Sat Oct 29 13:41:50 +0300 Assert when we hit a GL error Diffstat:
gl.cc | | | 2 | +- |
diff --git a/gl.cc b/gl.cc @@ -66,7 +66,7 @@ static void gl_debug_output_callback( len, message ); if( severity == GL_DEBUG_SEVERITY_HIGH ) { - exit( 1 ); + ASSERT( 0 ); } } #endif