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.
Because you can have many screen surfaces. ![:stuck_out_tongue: :stuck_out_tongue:](https://discourse.libsdl.org/images/emoji/apple/stuck_out_tongue.png?v=12)
(Or did I read it wrong somewhere?)
Miguel Pragier wrote:> 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.
SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org