Fixed logic error. trunk
authorRyan C. Gordon <icculus@icculus.org>
Thu, 08 May 2008 16:05:20 -0400
branchtrunk
changeset 296 3744671ea39e
parent 295 54ef3ccdfa58
child 297 16ec5a14777d
Fixed logic error. A "!=" should have been "==" ...
mojoshader.c
--- a/mojoshader.c	Thu May 08 09:29:41 2008 -0400
+++ b/mojoshader.c	Thu May 08 16:05:20 2008 -0400
@@ -786,7 +786,7 @@
 
 static inline int no_swizzle(const int swizzle)
 {
-    return (swizzle != 0xE4);  // 0xE4 == 11100100 ... 0 1 2 3. No swizzle.
+    return (swizzle == 0xE4);  // 0xE4 == 11100100 ... 0 1 2 3. No swizzle.
 } // no_swizzle