From 775ae7f61b3c7277aebf1754811165077eaaab95 Mon Sep 17 00:00:00 2001 From: bkaradzic Date: Tue, 16 Apr 2013 09:24:43 -0700 Subject: [PATCH] GL: fixed GL_DEBUG_* define name. --- src/renderer_gl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/renderer_gl.cpp b/src/renderer_gl.cpp index 9199e2a2..f1bd563f 100644 --- a/src/renderer_gl.cpp +++ b/src/renderer_gl.cpp @@ -2333,7 +2333,7 @@ namespace bgfx if (s_extension[Extension::ARB_debug_output].m_supported) { GL_CHECK(glDebugMessageCallbackARB(debugProcCb, NULL) ); - GL_CHECK(glDebugMessageControlARB(GL_DONT_CARE, GL_DONT_CARE, GL_DEBUG_SEVERITY_MEDIUM, 0, NULL, GL_TRUE) ); + GL_CHECK(glDebugMessageControlARB(GL_DONT_CARE, GL_DONT_CARE, GL_DEBUG_SEVERITY_MEDIUM_ARB, 0, NULL, GL_TRUE) ); } #endif // BGFX_CONFIG_RENDERER_OPENGL }