I find the SDL_GL_CreateContext(window) function but nothing that allow us to configure the context.
Is their a way to specify options like those :
- double buffering
- stencil/depth buffer sizes
- sharing between windows
I find the SDL_GL_CreateContext(window) function but nothing that allow us to configure the context.
Is their a way to specify options like those :
Check out the SDL_GL_* functions:
http://wiki.libsdl.org/moin.fcg/CategoryVideo
Particularly:
SDL_GL_SetAttribute() http://wiki.libsdl.org/moin.fcg/SDL_GL_SetAttribute
Jonny DOn Fri, Mar 15, 2013 at 4:42 AM, Flamaros <flamaros.xavier at gmail.com> wrote:
**
I find the SDL_GL_CreateContext(window) function but nothing that allow us
to configure the context.Is their a way to specify options like those :
- double buffering
- stencil/depth buffer sizes
- sharing between windows
SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org