From ced8870a6accbc1f5af876e81e20606bf5a4663e Mon Sep 17 00:00:00 2001 From: Stephane Marchesin Date: Sat, 10 Mar 2007 13:46:26 +0100 Subject: [PATCH] nouveau: fix nv04 swtcl. --- src/mesa/drivers/dri/nouveau/nv04_swtcl.c | 1 + 1 file changed, 1 insertion(+) 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 -- 2.30.2