From 391d96f4d8245e72c1d918fb09234762992629fd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Branimir=20Karad=C5=BEi=C4=87?= Date: Tue, 21 Apr 2015 20:44:46 -0700 Subject: [PATCH] Cleanup. --- src/renderer_gl.cpp | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/src/renderer_gl.cpp b/src/renderer_gl.cpp index 5af3493f..37ce1e57 100644 --- a/src/renderer_gl.cpp +++ b/src/renderer_gl.cpp @@ -1224,22 +1224,6 @@ namespace bgfx { namespace gl s_textureFormat[TextureFormat::PTC22].m_supported |= ptc2Supported; s_textureFormat[TextureFormat::PTC24].m_supported |= ptc2Supported; - if (s_extension[Extension::ARB_debug_output].m_supported - || s_extension[Extension::KHR_debug].m_supported) - { - GL_CHECK(glDebugMessageCallback(debugProcCb, NULL) ); - GL_CHECK(glDebugMessageControl(GL_DONT_CARE - , GL_DONT_CARE - , GL_DEBUG_SEVERITY_MEDIUM - , 0 - , NULL - , GL_TRUE - ) ); - } - - - - if (BX_ENABLED(BGFX_CONFIG_RENDERER_OPENGLES) ) { setTextureFormat(TextureFormat::D32, GL_DEPTH_COMPONENT, GL_DEPTH_COMPONENT, GL_UNSIGNED_INT);