[SDL] Better performance needed - am I doing this right?
colin at tuckley.org
Wed Jun 6 10:18:53 PDT 2007
Rúben Lício wrote:
> SDL_HWSURFACE normaly is faster then SDL_SWSURFACE.
Unfortunately that isn't an option, I'm in an XWindows environment on Linux
and can't use HWSURFACE.
> SDL_Flip works nice with doublebuffer active. If you dont have double
> buffer active, try to use SDL_UpdateRects way.
The docs say that calling SDL_Flip is equiv to calling
SDL_UpdateRect(screen, 0, 0, 0, 0) for non HW surfaces.
Colin Tuckley | colin at tuckley.org | PGP/GnuPG Key Id
+44(0)1903 236872 | +44(0)7799 143369 | 0x1B3045CE
It is well known that Discworld trolls loose intelligence as they warm up.
Does this mean that a particularly hot headed troll would be a lava lout?
More information about the SDL