[SDL] Why to specify the screen in SDL_UpdateRect(s) ?

Miguel Pragier pragier at gmail.com
Fri Aug 3 15:03:40 PDT 2007


Hello.

I ways use the SDL_UpdateRect(s) routine to refresh a piece of the
surface defined as SCREEN with SDL_SetVideoMode().

But observing that is necessary to specify "what surface to refresh" in
first parameter, a question occurs me: Is there another use to
SDL_UpdateRect(s)?

Why would I update other surface than the screen surface?


M.P.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.libsdl.org/private.cgi/sdl-libsdl.org/attachments/20070803/e4c1ea39/attachment.htm 


More information about the SDL mailing list