summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/context.c
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2013-01-17 16:49:57 -0800
committerEric Anholt <[email protected]>2013-01-21 21:26:48 -0800
commitbe4b1664fbc98b0b1d66bb91850ecada52b36b91 (patch)
treed15160bacacfeecdae2832791df37ca593ef754b /src/mesa/main/context.c
parentced98f17efc73c313700bbf936f7258131037ef3 (diff)
mesa: Make the drivers call a non-code-generated dispatch table setup.
I want to drive the Save dispatch table setup from this same function. Reviewed-by: Brian Paul <[email protected]> Reviewed-by: Ian Romanick <[email protected]>
Diffstat (limited to 'src/mesa/main/context.c')
-rw-r--r--src/mesa/main/context.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/mesa/main/context.c b/src/mesa/main/context.c
index 1f06b53f571..1c917e75a49 100644
--- a/src/mesa/main/context.c
+++ b/src/mesa/main/context.c
@@ -933,6 +933,13 @@ create_beginend_table(const struct gl_context *ctx)
return table;
}
+void
+_mesa_initialize_dispatch_tables(struct gl_context *ctx)
+{
+ /* Do the code-generated setup of the exec table in api_exec.c. */
+ _mesa_initialize_exec_table(ctx);
+}
+
/**
* Initialize a struct gl_context struct (rendering context).
*