mesa: don't enable legacy GL functions when using API_OPENGL_CORE

Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
This commit is contained in:
Jordan Justen
2012-07-24 15:37:01 -07:00
parent 1fea3df6f4
commit 3d0b54c7c6
4 changed files with 227 additions and 162 deletions

View File

@@ -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