[SDL] why is this so slow?

Sam Lantinga slouken at devolution.com
Wed Aug 27 08:58:01 PDT 2003


> why doesn't this code seem to be using doublebuffer? i passed 
> SDL_HWSURFACE | SDL_DOUBLEBUF to SDL_SetVideoMode() and I use SDL_FLip()
> The SDL_UpdateRect(screen, 0, 0, 0, 0); was of course redundant because 
> of my stupidity :{

http://www.libsdl.org/faq.php?action=listentries&category=2#67

See ya,
	-Sam Lantinga, Software Engineer, Blizzard Entertainment




More information about the SDL mailing list