mesa: Don't allow display lists or evaluators in core context

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
This commit is contained in:
Ian Romanick
2012-08-17 14:32:43 -07:00
parent 2bcf555490
commit 8e7b6a69e9
2 changed files with 7 additions and 3 deletions

View File

@@ -1008,7 +1008,6 @@ _mesa_initialize_context(struct gl_context *ctx,
switch (ctx->API) {
case API_OPENGL:
case API_OPENGL_CORE:
#if FEATURE_dlist
ctx->Save = _mesa_create_save_table();
if (!ctx->Save) {
@@ -1019,6 +1018,7 @@ _mesa_initialize_context(struct gl_context *ctx,
_mesa_install_save_vtxfmt( ctx, &ctx->ListState.ListVtxfmt );
#endif
case API_OPENGL_CORE:
break;
case API_OPENGLES:
/**