From: Brian Date: Tue, 27 Mar 2007 16:59:28 +0000 (-0600) Subject: init machine->StackDepth=0 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d6d6d20b137b23c1c28ca64f7781213f7df36e9a;p=mesa.git init machine->StackDepth=0 --- 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; }