Combinations in SDL_SetVideoMode

Hello everybody,

I see in the help of SDL_SetVideoMode I can multiple options: SDL_SWSURFACE,
SDL_HWSURFACE, etc.

My question is what combines with what, examples:

SDL_HWSURFACE and SDL_FULLSCREEN, can run
SDL_HWSURFACE and SDL_RESIZABLE and SDL_OPENG and SDL_DOUBLEBUF, may be not
very well.

Any list of valid combinations?, thanks.

There aren’t really many limitations.

SDL_RESIZABLE will be relevant with SDL_FULLSCREEN if your application
ever toggles full screen mode.

SDL_HWSURFACE and SDL_SWSURFACE contraindicate one another, but IIRC
one of them is actually zero, as it is the default option, and only
serves a symbolic purpose for the programmer.

I don’t believe SDL_DOUBLEBUF has a real effect with SDL_OPENGL.

That’s all I can think of.On Sun, Aug 23, 2009 at 4:08 AM, Altair Linux wrote:

Hello everybody,

I see in the help of SDL_SetVideoMode I can multiple options: SDL_SWSURFACE,
SDL_HWSURFACE, etc.

My question is what combines with what, examples:

SDL_HWSURFACE and SDL_FULLSCREEN, can run
SDL_HWSURFACE and SDL_RESIZABLE and SDL_OPENG and SDL_DOUBLEBUF, may be not
very well.

Any list of valid combinations?, thanks.


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org


http://codebad.com/