Skip to content

Commit

Permalink
Fixed logic error.
Browse files Browse the repository at this point in the history
A "!=" should have been "==" ...

--HG--
branch : trunk
  • Loading branch information
icculus committed May 8, 2008
1 parent 2d80c33 commit 78f8592
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mojoshader.c
Expand Up @@ -786,7 +786,7 @@ static inline int replicate_swizzle(const int swizzle)

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


Expand Down

0 comments on commit 78f8592

Please sign in to comment.