Fixed detection of OpenGL extensions needed by nv2 profile. trunk
authorRyan C. Gordon <icculus@icculus.org>
Fri, 20 Jun 2008 01:29:24 -0400
branchtrunk
changeset 388 5930c6cd840e
parent 387 b1f863a7f795
child 389 71a391132750
Fixed detection of OpenGL extensions needed by nv2 profile.
mojoshader_opengl.c
--- a/mojoshader_opengl.c	Fri Jun 20 01:20:58 2008 -0400
+++ b/mojoshader_opengl.c	Fri Jun 20 01:29:24 2008 -0400
@@ -391,6 +391,8 @@
     ctx->have_base_opengl = 1;
     ctx->have_GL_ARB_vertex_program = 1;
     ctx->have_GL_ARB_fragment_program = 1;
+    ctx->have_GL_NV_vertex_program2_option = 1;
+    ctx->have_GL_NV_fragment_program2 = 1;
     ctx->have_GL_ARB_shader_objects = 1;
     ctx->have_GL_ARB_vertex_shader = 1;
     ctx->have_GL_ARB_fragment_shader = 1;