[SDL] [SDL2] OpenGL Context configuration

Jonathan Dearborn grimfang4 at gmail.com
Fri Mar 15 10:11:09 PDT 2013


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 D


On 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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20130315/c53cf14b/attachment-0009.htm>


More information about the SDL mailing list