init machine->StackDepth=0
authorBrian <brian@yutani.localnet.net>
Tue, 27 Mar 2007 16:59:28 +0000 (10:59 -0600)
committerBrian <brian@yutani.localnet.net>
Tue, 27 Mar 2007 22:06:47 +0000 (16:06 -0600)
src/mesa/tnl/t_vb_program.c

index 17eefe7..0a959a0 100644 (file)
@@ -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;
 }