summaryrefslogtreecommitdiff
path: root/src/mesa/main/dlist.c
diff options
context:
space:
mode:
authorBrian <brian.paul@tungstengraphics.com>2007-08-23 08:16:52 +0100
committerBrian <brian.paul@tungstengraphics.com>2007-08-23 08:19:31 +0100
commitdbef6158c6c19a28dc96a96357c9ed9bd9422b88 (patch)
treeebf08e3fb2d5fede75ee847d99df21607eda27f5 /src/mesa/main/dlist.c
parenta3750c989b7330cc08942c9e0959ebfcdfcb9306 (diff)
remove unneeded CallStack array
Diffstat (limited to 'src/mesa/main/dlist.c')
-rw-r--r--src/mesa/main/dlist.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/mesa/main/dlist.c b/src/mesa/main/dlist.c
index be2f438a94..5b9391096a 100644
--- a/src/mesa/main/dlist.c
+++ b/src/mesa/main/dlist.c
@@ -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);
@@ -6625,8 +6623,6 @@ execute_list(GLcontext *ctx, GLuint list)
if (ctx->Driver.EndCallList)
ctx->Driver.EndCallList(ctx);
-
- ctx->ListState.CallStack[ctx->ListState.CallDepth--] = NULL;
}