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:
@@ -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
|
||||
|
Reference in New Issue
Block a user