[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [pygame] pygame.HWSURFACE not portable?



On Thu, 2006-07-06 at 23:11 -0400, Ethan Glasser-Camp wrote:
> "Don't specify flags unless you absolutely *must* (that is, don't
> specify HWSURFACE, depth=32 just because you think it's a good idea).
> This will reduce the portability of your game."

When SDL runs with a software display, it will pretty much work the same
on all platforms with all configurations.

When running with HWSURFACE, SDL works differently on all platforms. For
example, the mouse cursor will be erased by blits on some linux
backends. HWSURFACE can be faster though, if you are not doing alpha
blended blits.

I think this comment in the documents is a bit extreme. But this is
basically what it means.