From c2c1f42ecc2598b44ef0ab510f0be84a93a3957d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Branimir=20Karad=C5=BEi=C4=87?= Date: Thu, 24 Jul 2014 23:31:52 -0700 Subject: [PATCH] Cleanup. --- src/renderer_gl.cpp | 31 ------------------------------- 1 file changed, 31 deletions(-) diff --git a/src/renderer_gl.cpp b/src/renderer_gl.cpp index 67c4640f..ac0558d5 100644 --- a/src/renderer_gl.cpp +++ b/src/renderer_gl.cpp @@ -2580,41 +2580,10 @@ namespace bgfx struct VariableInfo { GLenum type; -// GLint loc; }; VariableInfo vi; GLenum props[] = { GL_TYPE }; -#if 0 - BX_TRACE("Buffers (%d):", activeUniforms); - for (int32_t ii = 0; ii < activeUniforms; ++ii) - { - GL_CHECK(glGetProgramResourceiv(m_id - , GL_UNIFORM - , ii - , BX_COUNTOF(props) - , props - , BX_COUNTOF(props) - , NULL - , (GLint*)&vi - ) ); - - GL_CHECK(glGetProgramResourceName(m_id - , GL_UNIFORM - , ii - , maxLength + 1 - , NULL - , name - ) ); - - BX_TRACE("\tuniform %s %s is at location %d" - , glslTypeName(vi.type) - , name - , 0 //vi.loc - ); - } -#endif // 0 - BX_TRACE("Buffers (%d):", activeBuffers); for (int32_t ii = 0; ii < activeBuffers; ++ii) {