From dbef6158c6c19a28dc96a96357c9ed9bd9422b88 Mon Sep 17 00:00:00 2001 From: Brian Date: Thu, 23 Aug 2007 08:16:52 +0100 Subject: [PATCH] remove unneeded CallStack array --- src/mesa/main/dlist.c | 4 ---- src/mesa/main/mtypes.h | 1 - 2 files changed, 5 deletions(-) diff --git a/src/mesa/main/dlist.c b/src/mesa/main/dlist.c index be2f438a941..5b9391096a0 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; } diff --git a/src/mesa/main/mtypes.h b/src/mesa/main/mtypes.h index 1145f361b13..f5a8c970e48 100644 --- a/src/mesa/main/mtypes.h +++ b/src/mesa/main/mtypes.h @@ -2866,7 +2866,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; -- 2.30.2