diff options
author | Jordan Justen <[email protected]> | 2012-07-24 15:37:01 -0700 |
---|---|---|
committer | Jordan Justen <[email protected]> | 2012-07-30 16:25:56 -0700 |
commit | 3d0b54c7c6021becb3cae9245fc8f88a0f0f2be9 (patch) | |
tree | d68d54f0702c22fe3a1f8370c656c642a222ce15 /src/mesa/main/context.c | |
parent | 1fea3df6f4455fd2047e631d4d3c85d3ff1029ae (diff) |
mesa: don't enable legacy GL functions when using API_OPENGL_CORE
Signed-off-by: Jordan Justen <[email protected]>
Reviewed-by: Brian Paul <[email protected]>
Reviewed-by: Eric Anholt <[email protected]>
Reviewed-by: Ian Romanick <[email protected]>
Diffstat (limited to 'src/mesa/main/context.c')
-rw-r--r-- | src/mesa/main/context.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/context.c b/src/mesa/main/context.c index b1f16ec065b..7616eb78b93 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 |