nouveau: fix the nv04 swtcl code.
authorStephane Marchesin <marchesin@icps.u-strasbg.fr>
Sat, 10 Mar 2007 00:25:51 +0000 (01:25 +0100)
committerStephane Marchesin <marchesin@icps.u-strasbg.fr>
Sat, 10 Mar 2007 00:30:34 +0000 (01:30 +0100)
src/mesa/drivers/dri/nouveau/nv04_swtcl.c

index 9b5332b77a7caa3a29655aa3c9de32b7a2008be5..a9c9c6ecf6a0094deb844de5d92094ceb3fc9834 100644 (file)
@@ -503,7 +503,7 @@ static inline void nv04OutputVertexFormat(struct nouveau_context* nmesa)
        nmesa->vertex_size=_tnl_install_attrs( ctx,
                        nmesa->vertex_attrs, 
                        nmesa->vertex_attr_count,
-                       ctx->Viewport._WindowMap.m, 0 );
+                       nmesa->viewport.m, 0 );
 }