aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/main/context.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2008-06-17 16:56:32 -0600
committerKeith Whitwell <[email protected]>2008-09-21 22:13:55 -0700
commitcd4d4f590f3e032d329ebb33dea69d951bb96d11 (patch)
treee9ac93eb67d7bd3d93695cac8d69cc9138ca2d4e /src/mesa/main/context.c
parent2dbc515a669be123a019aeb4aa5aae6b1679f6a9 (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 74f0add6f44..19dd55f9d94 100644
--- a/src/mesa/main/context.c
+++ b/src/mesa/main/context.c
@@ -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);