mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 17:58:26 +02:00
Enable GL_NV_fragment_program_option for software rendering
At this point the extension is not fully implemented.
This commit is contained in:
parent
b8e389bb03
commit
5db8ebb8f5
2 changed files with 4 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue