summaryrefslogtreecommitdiff
path: root/src/mesa/tnl/t_vb_program.c
diff options
context:
space:
mode:
authorBrian <brian@yutani.localnet.net>2007-05-02 18:45:44 -0600
committerBrian <brian@yutani.localnet.net>2007-05-02 18:45:44 -0600
commit60d136f63c5a5a18b12952ec8e8532cbce086a4d (patch)
treef9b031bc2d54d7d13c61d5a5c91cc6fec2502aa6 /src/mesa/tnl/t_vb_program.c
parent62da6a1b3e341e53981e2817595e0eea107fe6cb (diff)
changes to get DDX/DDY working again
Diffstat (limited to 'src/mesa/tnl/t_vb_program.c')
-rw-r--r--src/mesa/tnl/t_vb_program.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/tnl/t_vb_program.c b/src/mesa/tnl/t_vb_program.c
index 81e166bde5..9961af70ce 100644
--- a/src/mesa/tnl/t_vb_program.c
+++ b/src/mesa/tnl/t_vb_program.c
@@ -126,6 +126,8 @@ init_machine(GLcontext *ctx, struct gl_program_machine *machine)
}
}
+ machine->NumDeriv = 0;
+
/* init condition codes */
machine->CondCodes[0] = COND_EQ;
machine->CondCodes[1] = COND_EQ;