medfall

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs

commit 925bebae981eff8131fb4e0b32e4dd3706f766bb
parent 6779f4214ed81b7f332b908575bdb4827cf75e39
Author: Michael Savage <mikejsavage@gmail.com>
Date:   Wed Sep 14 16:25:51 +0100

GL_ARB_debug_output crashes too

Diffstat:
gl.cc | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gl.cc b/gl.cc @@ -97,11 +97,11 @@ GLFWwindow * gl_init() { FATAL( "gladLoadGL" ); } +#if !defined( _WIN32 ) if( GLAD_GL_ARB_debug_output ) { glEnable( GL_DEBUG_OUTPUT ); glDebugMessageCallbackARB( ( GLDEBUGPROCARB ) gl_error_printer, NULL ); } -#if !defined( _WIN32 ) else if( GLAD_GL_KHR_debug ) { glEnable( GL_DEBUG_OUTPUT ); glDebugMessageCallback( ( GLDEBUGPROC ) gl_error_printer, NULL );