CONFIGURE: Disable OpenGL on Switch because it crashes

GLES2 crashes when switching between SDL2 graphics and OpenGL
graphics. This is a known problem on the platform due to the
implementation of GLES2, it crashes on de-init.
This commit is contained in:
rsn8887 2019-06-21 10:26:11 -05:00
parent 027e41632f
commit fee13a8505

5
configure vendored
View File

@ -3432,7 +3432,10 @@ if test -n "$_host"; then
;;
switch)
_backend="switch"
_opengl_mode=gles2
# _opengl_mode=gles2 compiles but crashes when switching between
# SDL2 graphics and GLES2 graphics. This is a known problem on since
# SDL2 was adapted to use GLES2 as backend on the platform.
_opengl_mode=none
_vkeybd=yes
_port_mk="backends/platform/sdl/switch/switch.mk"
;;