summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/dlist.c
diff options
context:
space:
mode:
authorBrian <[email protected]>2007-08-24 08:43:58 +0100
committerBrian <[email protected]>2007-08-24 08:45:37 +0100
commitf8e4cf716a3656faa08086ee80d04b36a5266d65 (patch)
treeba2fc62716c0476ad056d38ad3c044cc75e6f114 /src/mesa/main/dlist.c
parent1f8616e622ee94ec048aa17f2b9ca4765e0ac76e (diff)
remove CallDepth++/-- accidentally removed in prev commit
Diffstat (limited to 'src/mesa/main/dlist.c')
-rw-r--r--src/mesa/main/dlist.c4
1 files changed, 4 insertions, 0 deletions
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--;
}