Enable openGL debug output
This commit is contained in:
parent
fb4a412db5
commit
ec0155bc77
|
@ -119,8 +119,8 @@ static void init_opengl() {
|
|||
dbg_log("Initialising opengl");
|
||||
|
||||
// During init, enable debug output
|
||||
glEnable ( GL_DEBUG_OUTPUT );
|
||||
glDebugMessageCallback( MessageCallback, 0 );
|
||||
glEnable(GL_DEBUG_OUTPUT);
|
||||
glDebugMessageCallback(MessageCallback, 0);
|
||||
|
||||
// Configure the context's capabilities
|
||||
glClearColor(0.0, 0.0, 0.0, 1.0);
|
||||
|
|
Loading…
Reference in New Issue