summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKeith Whitwell <keith@tungstengraphics.com>2004-12-30 15:58:45 +0000
committerKeith Whitwell <keith@tungstengraphics.com>2004-12-30 15:58:45 +0000
commit58cc2e9124dc76492f2e7d8843f74df511e4054e (patch)
tree5b8dad8b844040447901c2af2d69857032e5be50
parent18551e75ea20ad49a10309b4f7e9eeea76d45290 (diff)
Don't need to adjust for drawXoff in fallback clipping.
-rw-r--r--src/mesa/drivers/dri/unichrome/via_span.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mesa/drivers/dri/unichrome/via_span.c b/src/mesa/drivers/dri/unichrome/via_span.c
index 4fdfec3eaa..07d20adc0f 100644
--- a/src/mesa/drivers/dri/unichrome/via_span.c
+++ b/src/mesa/drivers/dri/unichrome/via_span.c
@@ -63,10 +63,10 @@
__DRIdrawablePrivate *dPriv = vmesa->driDrawable; \
int _nc = dPriv->numClipRects; \
while (_nc--) { \
- int minx = dPriv->pClipRects[_nc].x1 - vmesa->drawX; \
- int miny = dPriv->pClipRects[_nc].y1 - vmesa->drawY; \
- int maxx = dPriv->pClipRects[_nc].x2 - vmesa->drawX; \
- int maxy = dPriv->pClipRects[_nc].y2 - vmesa->drawY;
+ int minx = dPriv->pClipRects[_nc].x1 - dPriv->x; \
+ int miny = dPriv->pClipRects[_nc].y1 - dPriv->y; \
+ int maxx = dPriv->pClipRects[_nc].x2 - dPriv->x; \
+ int maxy = dPriv->pClipRects[_nc].y2 - dPriv->y;
#define HW_ENDCLIPLOOP() \