diff options
author | Xiang, Haihao <[email protected]> | 2008-01-02 11:38:51 +0800 |
---|---|---|
committer | Xiang, Haihao <[email protected]> | 2008-01-02 11:38:51 +0800 |
commit | 60d762aa625095a8c1f9597d8530bb5a6fa61b4c (patch) | |
tree | 2c735f00841f721ac2475af11f8e66eff69619f9 /src/mesa/drivers/dri/i915/intel_tris.c | |
parent | 524304c9b8b85dd32ea8c90aafa79229e928f250 (diff) |
i915: Needn't adjust pixel centers. fix #12944
Diffstat (limited to 'src/mesa/drivers/dri/i915/intel_tris.c')
-rw-r--r-- | src/mesa/drivers/dri/i915/intel_tris.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/i915/intel_tris.c b/src/mesa/drivers/dri/i915/intel_tris.c index 61b0bb3fd31..6ccb5026711 100644 --- a/src/mesa/drivers/dri/i915/intel_tris.c +++ b/src/mesa/drivers/dri/i915/intel_tris.c @@ -247,8 +247,8 @@ intel_draw_point(struct intel_context *intel, intelVertexPtr v0) int j; /* Adjust for sub pixel position -- still required for conform. */ - *(float *) &vb[0] = v0->v.x - 0.125; - *(float *) &vb[1] = v0->v.y - 0.125; + *(float *) &vb[0] = v0->v.x; + *(float *) &vb[1] = v0->v.y; for (j = 2; j < vertsize; j++) vb[j] = v0->ui[j]; } |