comparison src/video/SDL_video.c @ 1428:5f52867ba65c

Update for Visual C++ 6.0
author Sam Lantinga <slouken@libsdl.org>
date Fri, 24 Feb 2006 18:24:57 +0000
parents d910939febfa
children cf23b92602aa
comparison
equal deleted inserted replaced
1427:5f5a74d29d18 1428:5f52867ba65c
993 return; 993 return;
994 if ( (int)(y+h) > screen->h ) 994 if ( (int)(y+h) > screen->h )
995 return; 995 return;
996 996
997 /* Fill the rectangle */ 997 /* Fill the rectangle */
998 rect.x = x; 998 rect.x = (Sint16)x;
999 rect.y = y; 999 rect.y = (Sint16)y;
1000 rect.w = w; 1000 rect.w = (Uint16)w;
1001 rect.h = h; 1001 rect.h = (Uint16)h;
1002 SDL_UpdateRects(screen, 1, &rect); 1002 SDL_UpdateRects(screen, 1, &rect);
1003 } 1003 }
1004 } 1004 }
1005 void SDL_UpdateRects (SDL_Surface *screen, int numrects, SDL_Rect *rects) 1005 void SDL_UpdateRects (SDL_Surface *screen, int numrects, SDL_Rect *rects)
1006 { 1006 {