Changeset 187 for libcaca/trunk/libcaca/blit.c
- Timestamp:
- Nov 16, 2003, 12:26:54 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libcaca/trunk/libcaca/blit.c
r185 r187 52 52 pitch = (3 * w + 3) / 4 * 4; 53 53 54 for(y = y1 > 0 ? y1 : 0; y <= y2 && y <= caca_get_height(); y++)55 for(x = x1 > 0 ? x1 : 0; x <= x2 && x <= caca_get_width(); x++)54 for(y = y1 > 0 ? y1 : 0; y <= y2 && y <= (int)caca_get_height(); y++) 55 for(x = x1 > 0 ? x1 : 0; x <= x2 && x <= (int)caca_get_width(); x++) 56 56 { 57 57 int fromx = w * (x - x1) / (x2 - x1 + 1);
Note: See TracChangeset
for help on using the changeset viewer.