diff options
author | Brian <[email protected]> | 2007-03-27 10:59:28 -0600 |
---|---|---|
committer | Brian <[email protected]> | 2007-03-27 16:06:47 -0600 |
commit | d6d6d20b137b23c1c28ca64f7781213f7df36e9a (patch) | |
tree | 5062b67e47af34360360e5f97098d7355c6ce264 /src | |
parent | 1f1f5823044922fe586cf91c909e098a500eb439 (diff) |
init machine->StackDepth=0
Diffstat (limited to 'src')
-rw-r--r-- | src/mesa/tnl/t_vb_program.c | 3 |
1 files changed, 3 insertions, 0 deletions
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; } |