Browse Source

Fixed detection for shader support

Alex Szpakowski 11 years ago
parent
commit
c1b4f31578
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/modules/graphics/opengl/Shader.cpp

+ 1 - 1
src/modules/graphics/opengl/Shader.cpp

@@ -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)