summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/context.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2008-06-17 16:56:32 -0600
committerBrian Paul <[email protected]>2008-06-18 09:22:01 -0600
commit03d579aa19bcb1facec5ab67b6f7123e9ec9f26e (patch)
tree8623912277b7ff8ba72dcf3a543649195fabca47 /src/mesa/main/context.c
parent1496bba42904cbc9b827816b7924fa930661c22a (diff)
mesa: FEATURE_dispatch to control dispatch table usage
Diffstat (limited to 'src/mesa/main/context.c')
-rw-r--r--src/mesa/main/context.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/main/context.c b/src/mesa/main/context.c
index dcc518e9fda..439ac6aba52 100644
--- a/src/mesa/main/context.c
+++ b/src/mesa/main/context.c
@@ -1168,7 +1168,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);