From: Stephane Marchesin Date: Sat, 10 Mar 2007 12:46:26 +0000 (+0100) Subject: nouveau: fix nv04 swtcl. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ced8870a6accbc1f5af876e81e20606bf5a4663e;p=mesa.git nouveau: fix nv04 swtcl. --- 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