mojoshader_opengl.c
branchtrunk
changeset 230 396aa372c7d8
parent 229 67a3d459d865
child 236 8e2fc535b210
--- a/mojoshader_opengl.c	Sun Apr 27 21:19:17 2008 -0400
+++ b/mojoshader_opengl.c	Sun Apr 27 22:43:02 2008 -0400
@@ -289,7 +289,7 @@
 {
     error_buffer[0] = '\0';
 
-    if (strcmp(_profile, MOJOSHADER_PROFILE_GLSL) != 0)
+    if (strcmp(_profile, MOJOSHADER_PROFILE_GLSL) == 0)
         profile = MOJOSHADER_PROFILE_GLSL;
     else
     {