Add a OSX version check to GLSL so if anyone running < OSX 10.7 gets a message instead of crashing when running the game. Turn off DEBUG_GLSL.

This commit is contained in:
Ryan Houdek committed 2013-03-14 15:25:41 -05:00
1 parent e63a5d8529
commit db1fc9019b
2 files changed
+18 -1

No files matched your search

+1 -1
View File
@@ -70,7 +70,7 @@ 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
#if defined(_DEBUG) || defined(DEBUGFAST) || 1
#if defined(_DEBUG) || defined(DEBUGFAST)
#define DEBUG_GLSL 1
#else
#define DEBUG_GLSL 0