From 58cc2e9124dc76492f2e7d8843f74df511e4054e Mon Sep 17 00:00:00 2001 From: Keith Whitwell Date: Thu, 30 Dec 2004 15:58:45 +0000 Subject: [PATCH] Don't need to adjust for drawXoff in fallback clipping. --- src/mesa/drivers/dri/unichrome/via_span.c | 8 ++++---- 1 file 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 4fdfec3eaa6..07d20adc0f9 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() \ -- 2.30.2