mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-04-28 21:07:59 +03:00
disable opengles for Android by default
This commit is contained in:
parent
5f4ace1bc2
commit
a7b78b37f5
2 changed files with 4 additions and 6 deletions
|
@ -91,7 +91,7 @@ void GraphicsWindowSDL2::init()
|
|||
SDL_Window *oldWin = SDL_GL_GetCurrentWindow();
|
||||
SDL_GLContext oldCtx = SDL_GL_GetCurrentContext();
|
||||
|
||||
#ifdef OPENGL_ES
|
||||
#if defined(OPENGL_ES) || defined(ANDROID)
|
||||
SDL_GL_SetAttribute(SDL_GL_CONTEXT_PROFILE_MASK, SDL_GL_CONTEXT_PROFILE_ES);
|
||||
SDL_GL_SetAttribute(SDL_GL_CONTEXT_MAJOR_VERSION, 1);
|
||||
SDL_GL_SetAttribute(SDL_GL_CONTEXT_MINOR_VERSION, 1);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue