comparison src/video/xbios/SDL_xbios.c @ 319:189a6a3416c7

*** empty log message ***
author Sam Lantinga <slouken@libsdl.org>
date Tue, 26 Mar 2002 17:37:31 +0000
parents bff64eba7721
children 9ff7e90aaa94
comparison
equal deleted inserted replaced
318:0910a3034576 319:189a6a3416c7
637 for (i=0;i<numrects;i++) { 637 for (i=0;i<numrects;i++) {
638 void *source,*destination; 638 void *source,*destination;
639 int x1,x2; 639 int x1,x2;
640 640
641 x1 = rects[i].x & ~15; 641 x1 = rects[i].x & ~15;
642 x2 = ((rects[i].x+rects[i].w) | 15) +1; 642 x2 = rects[i].x+rects[i].w;
643 if (x2 & 15) {
644 x2 = (x2 | 15) +1;
645 }
643 646
644 source = surface->pixels; 647 source = surface->pixels;
645 source += surface->pitch * rects[i].y; 648 source += surface->pitch * rects[i].y;
646 source += x1; 649 source += x1;
647 650