Enough GLES compatibility to reach the menu screen

This was SVN commit r11064.
This commit is contained in:
Ykkrosh
2012-02-13 20:53:24 +00:00
parent d89c82092a
commit 9972eb8cae
31 changed files with 344 additions and 99 deletions
+2 -2
View File
@@ -203,8 +203,8 @@ bool CVideoMode::InitSDL()
#if !SDL_VERSION_ATLEAST(1, 3, 0)
SDL_GL_SetAttribute(SDL_GL_SWAP_CONTROL, g_VSync ? 1 : 0);
#endif
#if CONFIG2_GLES
#if CONFIG2_GLES && SDL_VERSION_ATLEAST(1, 3, 0)
// Require GLES 2.0
SDL_GL_SetAttribute(SDL_GL_CONTEXT_MAJOR_VERSION, 2);
SDL_GL_SetAttribute(SDL_GL_CONTEXT_MINOR_VERSION, 0);