[SDL] nooby question:how to get mappy to scroll
Ryan C. Gordon
icculus at clutteredmind.org
Thu Jun 9 00:01:55 PDT 2005
Josh Matthews wrote:
> You're using SDL_Flip but you're not using doublebuffered mode.
> Either change the SDL_SetVideoMode call to SDL_SetVideoMode(640,480,
> 24, SDL_SWSURFACE | SDL_DOUBLEBUF) or change the SDL_Flip call to
> SDL_UpdateRect(screen,0,0,0,0).
SDL_Flip() is equivalent to SDL_UpdateRect(screen,0,0,0,0) on
single-buffered surfaces.
--ryan.
More information about the SDL
mailing list