Fixed logic error. trunk
authorRyan C. Gordon <icculus@icculus.org>
Sun, 27 Apr 2008 22:43:02 -0400
branchtrunk
changeset 230 396aa372c7d8
parent 229 67a3d459d865
child 231 be53929fe38f
Fixed logic error.
mojoshader_opengl.c
--- 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
     {