diff options
author | Kristian Høgsberg <[email protected]> | 2011-10-28 15:40:01 -0400 |
---|---|---|
committer | Kristian Høgsberg <[email protected]> | 2011-11-02 11:16:00 -0400 |
commit | d24b81e0e0f4109f3256dc45b0adc5ffd59fb749 (patch) | |
tree | 69e94f5deef4656cda82c35d71212c6b74a589fc /src/mesa/drivers/dri/common/spantmp_common.h | |
parent | 24002daf011bf05d7d088602dc32e60da1755f44 (diff) |
dri: Remove cliprect information from __DRIdrawable
Diffstat (limited to 'src/mesa/drivers/dri/common/spantmp_common.h')
-rw-r--r-- | src/mesa/drivers/dri/common/spantmp_common.h | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/src/mesa/drivers/dri/common/spantmp_common.h b/src/mesa/drivers/dri/common/spantmp_common.h index a4509a569d5..8916e7b0ca3 100644 --- a/src/mesa/drivers/dri/common/spantmp_common.h +++ b/src/mesa/drivers/dri/common/spantmp_common.h @@ -49,17 +49,14 @@ #ifndef HW_CLIPLOOP #define HW_CLIPLOOP() \ do { \ - int _nc = dPriv->numClipRects; \ - while ( _nc-- ) { \ - 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; + int minx = 0; \ + int miny = 0; \ + int maxx = dPriv->w; \ + int maxy = dPriv->h; #endif #ifndef HW_ENDCLIPLOOP #define HW_ENDCLIPLOOP() \ - } \ } while (0) #endif |