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 5b93910..b881b12 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--;
 }