summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephane Marchesin <marchesin@icps.u-strasbg.fr>2007-03-10 13:46:26 +0100
committerStephane Marchesin <marchesin@icps.u-strasbg.fr>2007-03-10 13:46:26 +0100
commitced8870a6accbc1f5af876e81e20606bf5a4663e (patch)
tree8f8201c7eed8c30092863e5a6c2ee887aa60c525
parent4f12b37a56b0f90d7beb248c5d3bee7600c24c14 (diff)
nouveau: fix nv04 swtcl.
-rw-r--r--src/mesa/drivers/dri/nouveau/nv04_swtcl.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/nouveau/nv04_swtcl.c b/src/mesa/drivers/dri/nouveau/nv04_swtcl.c
index a9c9c6ecf6..cb072e0bdb 100644
--- a/src/mesa/drivers/dri/nouveau/nv04_swtcl.c
+++ b/src/mesa/drivers/dri/nouveau/nv04_swtcl.c
@@ -473,6 +473,7 @@ static inline void nv04OutputVertexFormat(struct nouveau_context* nmesa)
/*
* Tell t_vertex about the vertex format
*/
+ nmesa->vertex_attr_count = 0;
RENDERINPUTS_COPY(index, nmesa->render_inputs_bitset);
// SX SY SZ INVW