Fixed uninitialized variable in OpenGL glue's nv4 profile detection. trunk
authorRyan C. Gordon <icculus@icculus.org>
Wed, 09 Jul 2008 13:27:54 -0400
branchtrunk
changeset 432 6c59f6c0456a
parent 431 0d0cbe10db02
child 433 f6d785d7982e
Fixed uninitialized variable in OpenGL glue's nv4 profile detection.
mojoshader_opengl.c
--- a/mojoshader_opengl.c	Sun Jul 06 22:01:28 2008 -0400
+++ b/mojoshader_opengl.c	Wed Jul 09 13:27:54 2008 -0400
@@ -718,6 +718,7 @@
     ctx->have_GL_NV_vertex_program2_option = 1;
     ctx->have_GL_NV_fragment_program2 = 1;
     ctx->have_GL_NV_vertex_program3 = 1;
+    ctx->have_GL_NV_gpu_program4 = 1;
     ctx->have_GL_ARB_shader_objects = 1;
     ctx->have_GL_ARB_vertex_shader = 1;
     ctx->have_GL_ARB_fragment_shader = 1;