From ec0155bc7732b8116431afe713bdb7eb78755c30 Mon Sep 17 00:00:00 2001 From: Archie Hilton Date: Tue, 14 May 2024 21:49:11 +0100 Subject: [PATCH] Enable openGL debug output --- src/main.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main.cc b/src/main.cc index 72e15a1..d847eac 100644 --- a/src/main.cc +++ b/src/main.cc @@ -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);