From 55fb41ade81b46685dd0fcb145a9b1161b197110 Mon Sep 17 00:00:00 2001 From: Vladimir Dergachev Date: Sun, 19 Dec 2004 15:39:40 +0000 Subject: Fix cut and paste error (reported by Jerome Glisse) --- src/mesa/drivers/dri/r300/r300_state.c | 4 ++-- 1 file 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 48f01643aad..86b457bf82c 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]); } -- cgit v1.2.3