Fixed detection for shader support

This commit is contained in:
Alex Szpakowski
2013-11-06 01:50:54 -04:00
parent cded0e4a3b
commit c1b4f31578
+1 -1
View File
@@ -629,7 +629,7 @@ std::string Shader::getGLSLVersion()
const char *tmp = 0;
// GL_SHADING_LANGUAGE_VERSION isn't available in OpenGL < 2.0.
if (GL_VERSION_2_0 || GLEE_ARB_shading_language_100)
if (GLEE_VERSION_2_0 || GLEE_ARB_shading_language_100)
tmp = (const char *) glGetString(GL_SHADING_LANGUAGE_VERSION);
if (tmp == 0)