@@ -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--; | |||
} | |||