diff options
author | Daniel Borca <dborca@users.sourceforge.net> | 2004-08-19 06:58:00 +0000 |
---|---|---|
committer | Daniel Borca <dborca@users.sourceforge.net> | 2004-08-19 06:58:00 +0000 |
commit | 50a84ce41e669f6e370112f803e377b128656764 (patch) | |
tree | d7482d615c3da6f0f4f2223abf7c0edbd6c478d2 | |
parent | 55497973be7c8afa888581204e1cc0ba4f4ce99c (diff) |
"const int _nc" was really stupid...
-rw-r--r-- | src/mesa/drivers/glide/fxddspan.c | 21 |
1 files changed, 8 insertions, 13 deletions
diff --git a/src/mesa/drivers/glide/fxddspan.c b/src/mesa/drivers/glide/fxddspan.c index f7b20490e7..ce69eac83c 100644 --- a/src/mesa/drivers/glide/fxddspan.c +++ b/src/mesa/drivers/glide/fxddspan.c @@ -100,30 +100,25 @@ #define HW_WRITE_CLIPLOOP() \ do { \ - const int _nc = 1; /* numcliprects */ \ /* [dBorca] Hack alert: */ \ /* remember, we need to flip the scissor, too */ \ /* is it better to do it inside fxDDScissor? */ \ - while (_nc--) { \ - const int minx = fxMesa->clipMinX; \ - const int maxy = Y_FLIP(fxMesa->clipMinY); \ - const int maxx = fxMesa->clipMaxX; \ - const int miny = Y_FLIP(fxMesa->clipMaxY); + const int minx = fxMesa->clipMinX; \ + const int maxy = Y_FLIP(fxMesa->clipMinY); \ + const int maxx = fxMesa->clipMaxX; \ + const int miny = Y_FLIP(fxMesa->clipMaxY); #define HW_READ_CLIPLOOP() \ do { \ - const int _nc = 1; /* numcliprects */ \ /* [dBorca] Hack alert: */ \ /* remember, we need to flip the scissor, too */ \ /* is it better to do it inside fxDDScissor? */ \ - while (_nc--) { \ - const int minx = fxMesa->clipMinX; \ - const int maxy = Y_FLIP(fxMesa->clipMinY); \ - const int maxx = fxMesa->clipMaxX; \ - const int miny = Y_FLIP(fxMesa->clipMaxY); + const int minx = fxMesa->clipMinX; \ + const int maxy = Y_FLIP(fxMesa->clipMinY); \ + const int maxx = fxMesa->clipMaxX; \ + const int miny = Y_FLIP(fxMesa->clipMaxY); #define HW_ENDCLIPLOOP() \ - } \ } while (0) |