init machine->StackDepth=0

This commit is contained in:
Brian
2007-03-27 10:59:28 -06:00
parent 1f1f582304
commit d6d6d20b13

View File

@@ -90,6 +90,9 @@ init_machine(GLcontext *ctx, struct gl_program_machine *machine)
machine->CondCodes[1] = COND_EQ; machine->CondCodes[1] = COND_EQ;
machine->CondCodes[2] = COND_EQ; machine->CondCodes[2] = COND_EQ;
machine->CondCodes[3] = COND_EQ; machine->CondCodes[3] = COND_EQ;
/* init call stack */
machine->StackDepth = 0;
} }