Enable openGL debug output

This commit is contained in:
Archie Hilton 2024-05-14 21:49:11 +01:00
parent fb4a412db5
commit ec0155bc77
1 changed files with 2 additions and 2 deletions

View File

@ -119,8 +119,8 @@ static void init_opengl() {
dbg_log("Initialising opengl"); dbg_log("Initialising opengl");
// During init, enable debug output // During init, enable debug output
glEnable ( GL_DEBUG_OUTPUT ); glEnable(GL_DEBUG_OUTPUT);
glDebugMessageCallback( MessageCallback, 0 ); glDebugMessageCallback(MessageCallback, 0);
// Configure the context's capabilities // Configure the context's capabilities
glClearColor(0.0, 0.0, 0.0, 1.0); glClearColor(0.0, 0.0, 0.0, 1.0);