only report errors without debug_glsl

This commit is contained in:
degasus
2013-03-07 20:26:56 +01:00
parent 8b232c7a4d
commit 2bd7ba76b9
2 changed files with 11 additions and 13 deletions

View File

@ -70,7 +70,11 @@ bool OpenGL_ReportFBOError(const char *function, const char *file, int line);
#endif
// this should be removed in future, but as long as glsl is unstable, we should really read this messages
#define DEBUG_GLSL
#if defined(_DEBUG) || defined(DEBUGFAST) || 1
#define DEBUG_GLSL 1
#else
#define DEBUG_GLSL 0
#endif
// Isn't defined if we aren't using GLEW 1.6
#ifndef GL_ONE_MINUS_SRC1_ALPHA