[Mesa-dev] [PATCH v2 12/12] mesa: don't initialize exec dispatch tables in _mesa_initialize_context
Jordan Justen
jordan.l.justen at intel.com
Sun Nov 18 23:49:38 PST 2012
Drivers must compute the context version, and then call
_mesa_initialize_exec_table themselves.
Signed-off-by: Jordan Justen <jordan.l.justen at intel.com>
---
src/mesa/main/context.c | 3 ---
1 file changed, 3 deletions(-)
diff --git a/src/mesa/main/context.c b/src/mesa/main/context.c
index cd88731..f8a7984 100644
--- a/src/mesa/main/context.c
+++ b/src/mesa/main/context.c
@@ -938,9 +938,6 @@ _mesa_initialize_context(struct gl_context *ctx,
/* setup the API dispatch tables with all nop functions */
ctx->Exec = _mesa_alloc_dispatch_table(_gloffset_COUNT);
- /* setup the API exec functions */
- _mesa_initialize_exec_table(ctx);
-
if (!ctx->Exec) {
_mesa_reference_shared_state(ctx, &ctx->Shared, NULL);
return GL_FALSE;
--
1.7.10.4
More information about the mesa-dev
mailing list