Switch the OpenGL ES renderers to request EGL OpenGL contexts
This commit is contained in:
parent
b3219a6db1
commit
4d8e7cdf64
2 changed files with 2 additions and 0 deletions
|
@ -269,6 +269,7 @@ GLES_CreateRenderer(SDL_Window * window, Uint32 flags)
|
|||
GLint value;
|
||||
Uint32 windowFlags;
|
||||
|
||||
SDL_GL_SetAttribute(SDL_GL_CONTEXT_EGL, 1);
|
||||
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