From 1c6f798ab0c3ff9d90bdefcbfdbe2e979ba29024 Mon Sep 17 00:00:00 2001 From: "Ryan C. Gordon" Date: Sun, 29 Jun 2008 02:00:08 -0400 Subject: [PATCH] Fixed glsl120 profile test in OpenGL glue. --HG-- branch : trunk --- mojoshader_opengl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mojoshader_opengl.c b/mojoshader_opengl.c index 27b95dae..2a2b9f7b 100644 --- a/mojoshader_opengl.c +++ b/mojoshader_opengl.c @@ -769,7 +769,7 @@ static int valid_profile(const char *profile) MUST_HAVE(MOJOSHADER_PROFILE_GLSL, GL_ARB_fragment_shader); MUST_HAVE(MOJOSHADER_PROFILE_GLSL, GL_ARB_shading_language_100); // if you got here, you have all the extensions. - if (!glsl_version_atleast(1, 2)) + if (!glsl_version_atleast(1, 20)) return 0; } // else if