Corrected test for nv2 profile support in OpenGL glue. trunk
authorRyan C. Gordon <icculus@icculus.org>
Thu, 03 Jul 2008 12:08:40 -0400
branchtrunk
changeset 420 bfcebc3bf560
parent 419 8c4cee0c6a82
child 421 bfd3d95273ec
Corrected test for nv2 profile support in OpenGL glue.
mojoshader_opengl.c
--- a/mojoshader_opengl.c	Wed Jul 02 16:00:47 2008 -0400
+++ b/mojoshader_opengl.c	Thu Jul 03 12:08:40 2008 -0400
@@ -722,6 +722,8 @@
     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