mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-22 06:20:22 +01:00
mesa: FEATURE_dispatch to control dispatch table usage
This commit is contained in:
parent
2dbc515a66
commit
cd4d4f590f
2 changed files with 3 additions and 0 deletions
|
|
@ -1215,7 +1215,9 @@ _mesa_initialize_context(GLcontext *ctx,
|
|||
if (ctx->Exec)
|
||||
_mesa_free(ctx->Exec);
|
||||
}
|
||||
#if FEATURE_dispatch
|
||||
_mesa_init_exec_table(ctx->Exec);
|
||||
#endif
|
||||
ctx->CurrentDispatch = ctx->Exec;
|
||||
#if FEATURE_dlist
|
||||
_mesa_init_dlist_table(ctx->Save);
|
||||
|
|
|
|||
|
|
@ -40,6 +40,7 @@
|
|||
#define FEATURE_attrib_stack _HAVE_FULL_GL
|
||||
#define FEATURE_colortable _HAVE_FULL_GL
|
||||
#define FEATURE_convolution _HAVE_FULL_GL
|
||||
#define FEATURE_dispatch _HAVE_FULL_GL
|
||||
#define FEATURE_dlist _HAVE_FULL_GL
|
||||
#define FEATURE_draw_read_buffer _HAVE_FULL_GL
|
||||
#define FEATURE_drawpix _HAVE_FULL_GL
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue