diff options
author | Xiang, Haihao <haihao.xiang@intel.com> | 2008-01-02 11:38:51 +0800 |
---|---|---|
committer | Xiang, Haihao <haihao.xiang@intel.com> | 2008-01-02 11:38:51 +0800 |
commit | 60d762aa625095a8c1f9597d8530bb5a6fa61b4c (patch) | |
tree | 2c735f00841f721ac2475af11f8e66eff69619f9 /src/mesa/drivers/dri/i915/intel_state.c | |
parent | 524304c9b8b85dd32ea8c90aafa79229e928f250 (diff) |
i915: Needn't adjust pixel centers. fix #12944
Diffstat (limited to 'src/mesa/drivers/dri/i915/intel_state.c')
-rw-r--r-- | src/mesa/drivers/dri/i915/intel_state.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/i915/intel_state.c b/src/mesa/drivers/dri/i915/intel_state.c index 558f068a42..4bcc9af2b6 100644 --- a/src/mesa/drivers/dri/i915/intel_state.c +++ b/src/mesa/drivers/dri/i915/intel_state.c @@ -253,10 +253,10 @@ intelCalcViewport(GLcontext * ctx) } m[MAT_SX] = v[MAT_SX]; - m[MAT_TX] = v[MAT_TX] + SUBPIXEL_X; + m[MAT_TX] = v[MAT_TX]; m[MAT_SY] = v[MAT_SY] * yScale; - m[MAT_TY] = v[MAT_TY] * yScale + yBias + SUBPIXEL_Y; + m[MAT_TY] = v[MAT_TY] * yScale + yBias; m[MAT_SZ] = v[MAT_SZ] * depthScale; m[MAT_TZ] = v[MAT_TZ] * depthScale; |