From: Vladimir Dergachev Date: Sun, 19 Dec 2004 15:39:40 +0000 (+0000) Subject: Fix cut and paste error (reported by Jerome Glisse) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=55fb41ade81b46685dd0fcb145a9b1161b197110;p=mesa.git Fix cut and paste error (reported by Jerome Glisse) --- 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]); }