Fixed glsl120 profile test in OpenGL glue. trunk
authorRyan C. Gordon <icculus@icculus.org>
Sun, 29 Jun 2008 02:00:08 -0400
branchtrunk
changeset 413 618b677f4581
parent 412 4e275a0788f7
child 414 fdb12120213e
Fixed glsl120 profile test in OpenGL glue.
mojoshader_opengl.c
--- a/mojoshader_opengl.c	Sun Jun 29 01:52:35 2008 -0400
+++ b/mojoshader_opengl.c	Sun Jun 29 02:00:08 2008 -0400
@@ -769,7 +769,7 @@
         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