src/SDL_compat.c
changeset 2735 204be4fc2726
parent 2710 44e49d3fa6cf
child 2765 f55c87ae336b
equal deleted inserted replaced
2734:dd25eabe441c 2735:204be4fc2726
   691         rect.w = (int) (w ? w : screen->w);
   691         rect.w = (int) (w ? w : screen->w);
   692         rect.h = (int) (h ? h : screen->h);
   692         rect.h = (int) (h ? h : screen->h);
   693         SDL_UpdateRects(screen, 1, &rect);
   693         SDL_UpdateRects(screen, 1, &rect);
   694     }
   694     }
   695 }
   695 }
       
   696 
   696 void
   697 void
   697 SDL_UpdateRects(SDL_Surface * screen, int numrects, SDL_Rect * rects)
   698 SDL_UpdateRects(SDL_Surface * screen, int numrects, SDL_Rect * rects)
   698 {
   699 {
   699     int i;
   700     int i;
   700 
   701