remove unneeded CallStack array

This commit is contained in:
Brian 2007-08-23 08:17:35 +01:00
parent 4fc561cc7b
commit e9e3099433
2 changed files with 1 additions and 6 deletions

View file

@ -1,6 +1,6 @@
/*
* Mesa 3-D graphics library
* Version: 7.0.1
* Version: 7.0.2
*
* Copyright (C) 1999-2007 Brian Paul All Rights Reserved.
*
@ -5737,8 +5737,6 @@ execute_list(GLcontext *ctx, GLuint list)
if (!dlist)
return;
ctx->ListState.CallStack[ctx->ListState.CallDepth++] = dlist;
if (ctx->Driver.BeginCallList)
ctx->Driver.BeginCallList(ctx, dlist);
@ -6628,8 +6626,6 @@ execute_list(GLcontext *ctx, GLuint list)
if (ctx->Driver.EndCallList)
ctx->Driver.EndCallList(ctx);
ctx->ListState.CallStack[ctx->ListState.CallDepth--] = NULL;
}

View file

@ -2842,7 +2842,6 @@ struct mesa_display_list
*/
struct gl_dlist_state
{
struct mesa_display_list *CallStack[MAX_LIST_NESTING];
GLuint CallDepth; /**< Current recursion calling depth */
struct mesa_display_list *CurrentList;