remove CallDepth++/-- accidentally removed in prev commit
authorBrian <brian.paul@tungstengraphics.com>
Fri, 24 Aug 2007 07:43:58 +0000 (08:43 +0100)
committerBrian <brian.paul@tungstengraphics.com>
Fri, 24 Aug 2007 07:45:37 +0000 (08:45 +0100)
src/mesa/main/dlist.c

index 5b9391096a036399e70d84af2c6a13ac7a2ef9f1..b881b12ff351d52230ec236807fd20f3ba8d262c 100644 (file)
@@ -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--;
 }