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 17eefe70326e0ad9f2f20a67a0e65b5ec7f2bde3..0a959a04af16bccdf46acf637a8f42ecb4d0fb3c 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;
 }