Mercurial > sdl-ios-xcode
diff src/render/SDL_sysrender.h @ 5212:115fff0641ee
Prefer the OpenGL ES 2.0 context when it's available, make it possible to create an OpenGL 2.0 context on iPhoneOS
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Sun, 06 Feb 2011 10:22:25 -0800 |
parents | 523409574510 |
children | 2178ffe17222 |
line wrap: on
line diff
--- a/src/render/SDL_sysrender.h Sun Feb 06 09:02:10 2011 -0800 +++ b/src/render/SDL_sysrender.h Sun Feb 06 10:22:25 2011 -0800 @@ -124,12 +124,12 @@ #if SDL_VIDEO_RENDER_OGL extern SDL_RenderDriver GL_RenderDriver; #endif +#if SDL_VIDEO_RENDER_OGL_ES2 +extern SDL_RenderDriver GLES2_RenderDriver; +#endif #if SDL_VIDEO_RENDER_OGL_ES extern SDL_RenderDriver GLES_RenderDriver; #endif -#if SDL_VIDEO_RENDER_OGL_ES2 -extern SDL_RenderDriver GLES2_RenderDriver; -#endif #if SDL_VIDEO_RENDER_DIRECTFB extern SDL_RenderDriver DirectFB_RenderDriver; #endif