aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/main/extensions.c
diff options
context:
space:
mode:
authorIan Romanick <[email protected]>2009-09-03 14:06:42 -0700
committerIan Romanick <[email protected]>2009-09-03 14:07:07 -0700
commit5db8ebb8f534907614247afaf1dd8621b2d0462e (patch)
tree93f8dca9b6cb24313206cc0aaaf51f72b1b5ed31 /src/mesa/main/extensions.c
parentb8e389bb0315287b72087b93a089ab944d77ab80 (diff)
Enable GL_NV_fragment_program_option for software rendering
At this point the extension is not fully implemented.
Diffstat (limited to 'src/mesa/main/extensions.c')
-rw-r--r--src/mesa/main/extensions.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mesa/main/extensions.c b/src/mesa/main/extensions.c
index 903da99ed0c..c6f5068685b 100644
--- a/src/mesa/main/extensions.c
+++ b/src/mesa/main/extensions.c
@@ -306,6 +306,9 @@ _mesa_enable_sw_extensions(GLcontext *ctx)
#if FEATURE_NV_fragment_program
ctx->Extensions.NV_fragment_program = GL_TRUE;
#endif
+#if FEATURE_NV_fragment_program && FEATURE_ARB_fragment_program
+ ctx->Extensions.NV_fragment_program_option = GL_TRUE;
+#endif
ctx->Extensions.SGI_color_matrix = GL_TRUE;
ctx->Extensions.SGI_color_table = GL_TRUE;
ctx->Extensions.SGI_texture_color_table = GL_TRUE;