nouveau: fix nv04 swtcl.
authorStephane Marchesin <marchesin@icps.u-strasbg.fr>
Sat, 10 Mar 2007 12:46:26 +0000 (13:46 +0100)
committerStephane Marchesin <marchesin@icps.u-strasbg.fr>
Sat, 10 Mar 2007 12:46:26 +0000 (13:46 +0100)
src/mesa/drivers/dri/nouveau/nv04_swtcl.c

index a9c9c6ecf6a0094deb844de5d92094ceb3fc9834..cb072e0bdbc9f0daa6cd862e3e8360cf6860ce64 100644 (file)
@@ -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