summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri
diff options
context:
space:
mode:
authorVladimir Dergachev <volodya@freedesktop.org>2004-12-19 15:39:40 +0000
committerVladimir Dergachev <volodya@freedesktop.org>2004-12-19 15:39:40 +0000
commit55fb41ade81b46685dd0fcb145a9b1161b197110 (patch)
treedd0f3f349cdcf6edc01833ea7b5a42c108a848cf /src/mesa/drivers/dri
parent7f752fed993e5e9423abac200dd59141edbada56 (diff)
Fix cut and paste error (reported by Jerome Glisse)
Diffstat (limited to 'src/mesa/drivers/dri')
-rw-r--r--src/mesa/drivers/dri/r300/r300_state.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/r300/r300_state.c b/src/mesa/drivers/dri/r300/r300_state.c
index 48f01643aa..86b457bf82 100644
--- a/src/mesa/drivers/dri/r300/r300_state.c
+++ b/src/mesa/drivers/dri/r300/r300_state.c
@@ -269,9 +269,9 @@ void r300ResetHwState(r300ContextPtr r300)
r300PackFloat32(-v[MAT_SY]);
r300->hw.vpt.cmd[R300_VPT_YOFFSET] =
r300PackFloat32(-v[MAT_TY] + yoffset);
- r300->hw.vpt.cmd[R300_VPT_YSCALE] =
+ r300->hw.vpt.cmd[R300_VPT_ZSCALE] =
r300PackFloat32(v[MAT_SZ]);
- r300->hw.vpt.cmd[R300_VPT_YOFFSET] =
+ r300->hw.vpt.cmd[R300_VPT_ZOFFSET] =
r300PackFloat32(v[MAT_TZ]);
}