GL ES and Linux |
Alex Szpakowski
Guest
|
If you call SDL_GL_SetAttribute(SDL_GL_CONTEXT_PROFILE_MASK, SDL_GL_CONTEXT_PROFILE_ES) before creating your window and OpenGL context, then SDL will attempt to create an OpenGL ES context using any available context-creation API that can do so (for example on Linux both GLX and EGL can create OpenGL ES contexts, depending on the graphics driver.)
_______________________________________________ SDL mailing list http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org |
|||||||||||||
|