summaryrefslogtreecommitdiff
path: root/src/i915_video.c
diff options
context:
space:
mode:
authorKeith Packard <keithp@guitar.keithp.com>2006-12-19 16:21:46 -0800
committerKeith Packard <keithp@guitar.keithp.com>2006-12-19 16:21:46 -0800
commit05cd921140fae2746c3421715d7f18248a66735a (patch)
treefec1c2173963c74a359d50349387680f336e7539 /src/i915_video.c
parent3c86fdda1d09fd22d4c15a8e412611db4cea7dcf (diff)
Align textured video dither matrix to window
Diffstat (limited to 'src/i915_video.c')
-rw-r--r--src/i915_video.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/i915_video.c b/src/i915_video.c
index c2f01848..636b2cbd 100644
--- a/src/i915_video.c
+++ b/src/i915_video.c
@@ -103,7 +103,7 @@ I915DisplayVideoTextured(ScrnInfoPtr pScrn, I830PortPrivPtr pPriv, int id,
/* draw rect -- just clipping */
OUT_RING(_3DSTATE_DRAW_RECT_CMD);
- OUT_RING(DRAW_DITHER_OFS_X(x1 & 3)| DRAW_DITHER_OFS_Y(y1 & 3)); /* flags */
+ OUT_RING(DRAW_DITHER_OFS_X(pDraw->x & 3)| DRAW_DITHER_OFS_Y(pDraw->y & 3)); /* flags */
OUT_RING(0x00000000); /* ymin, xmin */
OUT_RING((pScrn->virtualX - 1) |
(pScrn->virtualY - 1) << 16); /* ymax, xmax */