diff options
Diffstat (limited to 'ui/sdl2.c')
| -rw-r--r-- | ui/sdl2.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -109,6 +109,8 @@ void sdl2_window_create(struct sdl2_console *scon) if (scon->opts->gl == DISPLAY_GL_MODE_ES) { driver = "opengles2"; + SDL_GL_SetAttribute(SDL_GL_CONTEXT_PROFILE_MASK, + SDL_GL_CONTEXT_PROFILE_ES); } SDL_SetHint(SDL_HINT_RENDER_DRIVER, driver); |
