also check for glsl errors on linking, activation GLSL_DEBUG again (slowdown on shader compilation)

This commit is contained in:
degasus
2013-02-07 12:47:41 +01:00
parent 9987765b1f
commit f079b04a5d
5 changed files with 47 additions and 3 deletions

View File

@ -69,6 +69,9 @@ bool OpenGL_ReportFBOError(const char *function, const char *file, int line);
#define GL_REPORT_PROGRAM_ERROR() (void)0
#endif
// this should be removed in future, but as long as glsl is unstable, we should really read this messages
#define DEBUG_GLSL
// Isn't defined if we aren't using GLEW 1.6
#ifndef GL_ONE_MINUS_SRC1_ALPHA
#define GL_ONE_MINUS_SRC1_ALPHA 0x88FB