diff options
author | Jordan Justen <[email protected]> | 2012-11-16 10:42:02 -0800 |
---|---|---|
committer | Jordan Justen <[email protected]> | 2012-12-16 15:30:27 -0800 |
commit | 53ee3959f2d695ae442dcadcbce2971a9e26e99c (patch) | |
tree | cde3a5d9e8bb9ff66439fd46e9c097da21b90898 /src/mesa/main/context.c | |
parent | d5d1f10955f46207aabd011d43e863920abe3b00 (diff) |
mesa: don't initialize exec dispatch tables in _mesa_initialize_context
Drivers must compute the context version, and then call
_mesa_initialize_exec_table themselves.
Signed-off-by: Jordan Justen <[email protected]>
Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/mesa/main/context.c')
-rw-r--r-- | src/mesa/main/context.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/mesa/main/context.c b/src/mesa/main/context.c index df7647dd5ad..c1624bf724e 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; |