summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorStephane Marchesin <[email protected]>2007-03-10 01:25:51 +0100
committerStephane Marchesin <[email protected]>2007-03-10 01:30:34 +0100
commit4f12b37a56b0f90d7beb248c5d3bee7600c24c14 (patch)
tree2da2f1d3e2aa978532be9bd59559f2da9c29c565 /src
parent581a5940339af8b2cdd7497228d22fcf47269592 (diff)
nouveau: fix the nv04 swtcl code.
Diffstat (limited to 'src')
-rw-r--r--src/mesa/drivers/dri/nouveau/nv04_swtcl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/nouveau/nv04_swtcl.c b/src/mesa/drivers/dri/nouveau/nv04_swtcl.c
index 9b5332b77a7..a9c9c6ecf6a 100644
--- a/src/mesa/drivers/dri/nouveau/nv04_swtcl.c
+++ b/src/mesa/drivers/dri/nouveau/nv04_swtcl.c
@@ -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 );
}