From d6d6d20b137b23c1c28ca64f7781213f7df36e9a Mon Sep 17 00:00:00 2001 From: Brian Date: Tue, 27 Mar 2007 10:59:28 -0600 Subject: [PATCH] init machine->StackDepth=0 --- src/mesa/tnl/t_vb_program.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/mesa/tnl/t_vb_program.c b/src/mesa/tnl/t_vb_program.c index 17eefe70326..0a959a04af1 100644 --- a/src/mesa/tnl/t_vb_program.c +++ b/src/mesa/tnl/t_vb_program.c @@ -90,6 +90,9 @@ init_machine(GLcontext *ctx, struct gl_program_machine *machine) machine->CondCodes[1] = COND_EQ; machine->CondCodes[2] = COND_EQ; machine->CondCodes[3] = COND_EQ; + + /* init call stack */ + machine->StackDepth = 0; } -- 2.30.2