Skip to content

Commit

Permalink
Fixed wrong value for allow_glsl on non-Mac platforms.
Browse files Browse the repository at this point in the history
  • Loading branch information
icculus committed Dec 11, 2008
1 parent cddc9a2 commit 263e3b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mojoshader_opengl.c
Expand Up @@ -796,7 +796,7 @@ static int valid_profile(const char *profile)
#if PLATFORM_MACOSX
const int allow_glsl = macosx_version_atleast(10, 5, 0);
#else
const int allow_glsl = 0;
const int allow_glsl = 1;
#endif

if (!ctx->have_base_opengl)
Expand Down

0 comments on commit 263e3b6

Please sign in to comment.