From: Brian Date: Fri, 24 Aug 2007 07:43:58 +0000 (+0100) Subject: remove CallDepth++/-- accidentally removed in prev commit X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f8e4cf716a3656faa08086ee80d04b36a5266d65;p=mesa.git remove CallDepth++/-- accidentally removed in prev commit --- diff --git a/src/mesa/main/dlist.c b/src/mesa/main/dlist.c index 5b9391096a0..b881b12ff35 100644 --- a/src/mesa/main/dlist.c +++ b/src/mesa/main/dlist.c @@ -5737,6 +5737,8 @@ execute_list(GLcontext *ctx, GLuint list) if (!dlist) return; + ctx->ListState.CallDepth++; + if (ctx->Driver.BeginCallList) ctx->Driver.BeginCallList(ctx, dlist); @@ -6623,6 +6625,8 @@ execute_list(GLcontext *ctx, GLuint list) if (ctx->Driver.EndCallList) ctx->Driver.EndCallList(ctx); + + ctx->ListState.CallDepth--; }