Skip to content

Commit

Permalink
Fixed glsl120 profile test in OpenGL glue.
Browse files Browse the repository at this point in the history
--HG--
branch : trunk
  • Loading branch information
icculus committed Jun 29, 2008
1 parent b5f2d87 commit 1c6f798
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mojoshader_opengl.c
Expand Up @@ -769,7 +769,7 @@ static int valid_profile(const char *profile)
MUST_HAVE(MOJOSHADER_PROFILE_GLSL, GL_ARB_fragment_shader);
MUST_HAVE(MOJOSHADER_PROFILE_GLSL, GL_ARB_shading_language_100);
// if you got here, you have all the extensions.
if (!glsl_version_atleast(1, 2))
if (!glsl_version_atleast(1, 20))
return 0;
} // else if

Expand Down

0 comments on commit 1c6f798

Please sign in to comment.