summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/context.c
diff options
context:
space:
mode:
authorJordan Justen <[email protected]>2012-07-24 15:37:01 -0700
committerJordan Justen <[email protected]>2012-07-24 15:41:59 -0700
commit85e97b18e0d79644db3807e6bc2555bd754b48c8 (patch)
treea97a580ec6a9cfcd0ab787d8421e84b02f1dfffa /src/mesa/main/context.c
parentf2c8a8f550ce766af5c8d73428a94575c3e36bdb (diff)
mesa: don't enable legacy GL functions when using API_OPENGL_COREcore-context-v2
Signed-off-by: Jordan Justen <[email protected]>
Diffstat (limited to 'src/mesa/main/context.c')
-rw-r--r--src/mesa/main/context.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/context.c b/src/mesa/main/context.c
index 3daff966828..60b53a82aa8 100644
--- a/src/mesa/main/context.c
+++ b/src/mesa/main/context.c
@@ -963,7 +963,7 @@ _mesa_initialize_context(struct gl_context *ctx,
#if FEATURE_GL
case API_OPENGL:
case API_OPENGL_CORE:
- ctx->Exec = _mesa_create_exec_table();
+ ctx->Exec = _mesa_create_exec_table(ctx);
break;
#endif
#if FEATURE_ES1