From c1b4f315784e07ac32688b0281ae10e135c35379 Mon Sep 17 00:00:00 2001 From: Alex Szpakowski Date: Wed, 6 Nov 2013 01:50:54 -0400 Subject: [PATCH] Fixed detection for shader support --- src/modules/graphics/opengl/Shader.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/graphics/opengl/Shader.cpp b/src/modules/graphics/opengl/Shader.cpp index ab8e7c32a..ccbd74420 100644 --- a/src/modules/graphics/opengl/Shader.cpp +++ b/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)