Parent Directory | Revision Log | Patch
revision 314 by jsorg71, Fri Feb 7 23:43:37 2003 UTC | revision 318 by astrand, Mon Feb 10 12:58:51 2003 UTC | |
---|---|---|
# | Line 659 process_raw_bmpcache(STREAM s) | Line 659 process_raw_bmpcache(STREAM s) |
659 | inverted = xmalloc(width * height * Bpp); | inverted = xmalloc(width * height * Bpp); |
660 | for (y = 0; y < height; y++) | for (y = 0; y < height; y++) |
661 | { | { |
662 | memcpy(&inverted[(height - y - 1) * (width * Bpp)], &data[y * (width * Bpp)], width * Bpp); | memcpy(&inverted[(height - y - 1) * (width * Bpp)], &data[y * (width * Bpp)], |
663 | width * Bpp); | |
664 | } | } |
665 | ||
666 | bitmap = ui_create_bitmap(width, height, inverted); | bitmap = ui_create_bitmap(width, height, inverted); |
|
ViewVC Help | |
Powered by ViewVC 1.1.26 |