Enable GL_NV_fragment_program_option for software rendering
At this point the extension is not fully implemented.
This commit is contained in:
@@ -109,6 +109,7 @@ const struct dri_extension card_extensions[] =
|
||||
{ "GL_MESA_resize_buffers", GL_MESA_resize_buffers_functions },
|
||||
{ "GL_NV_vertex_program", GL_NV_vertex_program_functions },
|
||||
{ "GL_NV_fragment_program", GL_NV_fragment_program_functions },
|
||||
{ "GL_NV_fragment_program_option", NULL },
|
||||
{ NULL, NULL }
|
||||
};
|
||||
|
||||
|
@@ -305,6 +305,9 @@ _mesa_enable_sw_extensions(GLcontext *ctx)
|
||||
#endif
|
||||
#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;
|
||||
|
Reference in New Issue
Block a user