[SDL] Flags viwth OpenGL

Darrell Walisser dwaliss1 at purdue.edu
Mon Jan 29 08:52:10 PST 2001


On Mon, 29 Jan 2001, Marco Iannaccone wrote:

> Which flags are taken in consideration with SetVideoMode when setting OpenGL
> mode?
> SDL_FULLSCREEN and SDL_DOUBLEBUF yes. And ANYFORMAT, HWSURFACE... ?
>

SDL_FULLSCREEN - yes
SDL_OPENGL     - yes

all others - no

OpenGL surfaces are setup differently. Use SDL_GL_SetAttribute() call
before you set the video mode. See the latest SDL docs:

http://sdldoc.sourceforge.net/current/



> --
> Marco Iannaccone     marciann at tin.it
> ICQ: 18748121           MetalCoder
>
> "What is real?  How do you define real?  If you're talking about your
> senses, what you feel, taste, smell, or see, then all you're talking about
> are electrical signals interpreted by your brain."
>                                                        Morpheus - The Matrix
>
>
>
>




More information about the SDL mailing list