Browse Source

Change _DEBUG coverage a bit

Zachary Lund 11 years ago
parent
commit
4aef1d00d1
1 changed files with 1 additions and 1 deletions
  1. 1 1
      libobs-opengl/gl-subsystem.c

+ 1 - 1
libobs-opengl/gl-subsystem.c

@@ -18,6 +18,7 @@
 #include <graphics/matrix3.h>
 #include "gl-subsystem.h"
 
+#ifdef _DEBUG
 /* Tables for OpenGL debug */
 static const char* debug_source_table[] = {
 	"API",
@@ -49,7 +50,6 @@ static const char* debug_severity_table[] = {
 #define GL_DEBUG_TYPE_OFFSET(x) (x - GL_DEBUG_TYPE_ERROR_ARB)
 #define GL_DEBUG_SEVERITY_OFFSET(x) (x - GL_DEBUG_SEVERITY_HIGH_ARB)
 
-#ifdef _DEBUG
 static void gl_debug_proc(
 	GLenum source, GLenum type, GLuint id, GLenum severity, 
 	GLsizei length, const GLchar *message, GLvoid *data )