From ff0a6763495033ca565a089a306847801420ce04 Mon Sep 17 00:00:00 2001 From: cinnaboot Date: Wed, 21 Jul 2021 11:59:07 -0400 Subject: [PATCH] add note about GL_DEBUG_OUTPUT detection --- src/renderer.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/renderer.cpp b/src/renderer.cpp index 8430bcc..d7ae5db 100644 --- a/src/renderer.cpp +++ b/src/renderer.cpp @@ -241,6 +241,8 @@ initGlOptions() // TODO: glDebugMessageCallback is only availabe from >v4.3 // check and warn if context doesn't support this function here + // NOTE: nice extension detection program here: + // https://gist.github.com/dooglz/578b7bd913253c52c3c6 glEnable (GL_DEBUG_OUTPUT); glDebugMessageCallback((GLDEBUGPROC) openglDebugCallback, 0); // hide VRAM debug messages