logo
Free, Micro AI Code Reviews That Run on Git Commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, Micro AI Code Reviews That Run on Git Commit | Product Hunt git-lrc - Free, Micro AI Code Reviews That Run on Git Commit | Product Hunt

SDL_UpdateRect - Makes sure the given area is updated on the given screen.

Description

       Makes  sure  the  given  area  is  updated on the given screen. The rectangle must be confined within the
       screen boundaries (no clipping is done).

       If 'x', 'y', 'w' and 'h' are all 0, SDL_UpdateRect will update the entire screen.

       This function should not be called while 'screen' is locked.

Name

       SDL_UpdateRect - Makes sure the given area is updated on the given screen.

See Also

SDL_UpdateRects, SDL_Rect, SDL_Surface, SDL_LockSurface

SDL                                          Tue 11 Sep 2001, 23:01                            SDL_UpdateRect(3)

Synopsis

#include"SDL.h"voidSDL_UpdateRect(SDL_Surface*screen,Sint32x,Sint32y,Sint32w,Sint32h);

See Also