[SDL] IMG_Load and SDL_Surface flags

Brian brian.ripoff at gmail.com
Wed Dec 19 05:58:54 PST 2007


You should note that SDL_SWSURFACE isn't really a flag at all, it is
defined as 0.

To test whether a surface is in hardware is

> if( my_surface->flags & SDL_HWSURFACE )

If this fails, its in software.


More information about the SDL mailing list