1SDL_UpdateRect(3) SDL API Reference SDL_UpdateRect(3)
2
3
4
6 SDL_UpdateRect - Makes sure the given area is updated on the given
7 screen.
8
10 #include "SDL.h"
11
12 void SDL_UpdateRect(SDL_Surface *screen, Sint32 x, Sint32 y, Sint32 w,
13 Sint32 h);
14
16 Makes sure the given area is updated on the given screen. The rectangle
17 must be confined within the screen boundaries (no clipping is done).
18
19 If 'x', 'y', 'w' and 'h' are all 0, SDL_UpdateRect will update the
20 entire screen.
21
22 This function should not be called while 'screen' is locked.
23
25 SDL_UpdateRects, SDL_Rect, SDL_Surface, SDL_LockSurface
26
27
28
29SDL Tue 11 Sep 2001, 23:01 SDL_UpdateRect(3)