summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorStephane Marchesin <[email protected]>2007-03-10 13:46:26 +0100
committerStephane Marchesin <[email protected]>2007-03-10 13:46:26 +0100
commitced8870a6accbc1f5af876e81e20606bf5a4663e (patch)
tree8f8201c7eed8c30092863e5a6c2ee887aa60c525 /src
parent4f12b37a56b0f90d7beb248c5d3bee7600c24c14 (diff)
nouveau: fix nv04 swtcl.
Diffstat (limited to 'src')
-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 a9c9c6ecf6a..cb072e0bdbc 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