Skip to content

Commit

Permalink
Corrected test for nv2 profile support in OpenGL glue.
Browse files Browse the repository at this point in the history
--HG--
branch : trunk
  • Loading branch information
icculus committed Jul 3, 2008
1 parent 8d0fe05 commit 1080fd3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions mojoshader_opengl.c
Expand Up @@ -722,6 +722,8 @@ static void load_extensions(void *(*lookup)(const char *fnname))
VERIFY_EXT(GL_ARB_vertex_shader, 2, 0);
VERIFY_EXT(GL_ARB_fragment_shader, 2, 0);
VERIFY_EXT(GL_ARB_shading_language_100, 2, 0);
VERIFY_EXT(GL_NV_vertex_program2_option, -1, -1);
VERIFY_EXT(GL_NV_fragment_program2, -1, -1);
VERIFY_EXT(GL_NV_half_float, -1, -1);

#undef VERIFY_EXT
Expand Down

0 comments on commit 1080fd3

Please sign in to comment.