Skip to content

Commit

Permalink
Fixed logic error.
Browse files Browse the repository at this point in the history
--HG--
branch : trunk
  • Loading branch information
icculus committed Apr 28, 2008
1 parent 91c011b commit 1a2a6ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mojoshader_opengl.c
Expand Up @@ -289,7 +289,7 @@ int MOJOSHADER_glInit(const char *_profile,
{
error_buffer[0] = '\0';

if (strcmp(_profile, MOJOSHADER_PROFILE_GLSL) != 0)
if (strcmp(_profile, MOJOSHADER_PROFILE_GLSL) == 0)
profile = MOJOSHADER_PROFILE_GLSL;
else
{
Expand Down

0 comments on commit 1a2a6ec

Please sign in to comment.