Mercurial > sdl-ios-xcode
comparison src/video/ipod/SDL_ipodvideo.c @ 3013:8cc00819c8d6
Reverted Bob's indent checkin
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Sat, 10 Jan 2009 21:50:26 +0000 |
parents | 8f4ed5ec2b06 |
children |
comparison
equal
deleted
inserted
replaced
3012:7e30c2dc7783 | 3013:8cc00819c8d6 |
---|---|
775 for (x = r->x; (x < r->x + r->w) && x < lcd_width; x++) { | 775 for (x = r->x; (x < r->x + r->w) && x < lcd_width; x++) { |
776 ipod_scr[y * (lcd_width / 4) + x / 4] &= | 776 ipod_scr[y * (lcd_width / 4) + x / 4] &= |
777 ~(3 << (2 * (x % 4))); | 777 ~(3 << (2 * (x % 4))); |
778 ipod_scr[y * (lcd_width / 4) + x / 4] |= | 778 ipod_scr[y * (lcd_width / 4) + x / 4] |= |
779 (((Uint8 *) (SDL_VideoSurface->pixels))[y * | 779 (((Uint8 *) (SDL_VideoSurface->pixels))[y * |
780 SDL_VideoSurface->pitch | 780 SDL_VideoSurface-> |
781 + | 781 pitch + |
782 x] & 3) << (2 | 782 x] & 3) << (2 |
783 * | 783 * |
784 (x | 784 (x |
785 % | 785 % |
786 4)); | 786 4)); |