mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 13:28:06 +02:00
remove unneeded CallStack array
This commit is contained in:
parent
4fc561cc7b
commit
e9e3099433
2 changed files with 1 additions and 6 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue