aboutsummaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorrsn88872019-06-21 10:26:11 -0500
committerrsn88872019-06-21 10:27:45 -0500
commitfee13a850533e4b806409a8a67bd5aac663fab53 (patch)
tree7fb6eedb4bf9f2295ff7921efed33b3d174a556b /configure
parent027e41632f889095d9071843596697baba3867e9 (diff)
downloadscummvm-rg350-fee13a850533e4b806409a8a67bd5aac663fab53.tar.gz
scummvm-rg350-fee13a850533e4b806409a8a67bd5aac663fab53.tar.bz2
scummvm-rg350-fee13a850533e4b806409a8a67bd5aac663fab53.zip
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.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure5
1 files changed, 4 insertions, 1 deletions
diff --git a/configure b/configure
index 35817708aa..f56ebed2b2 100755
--- a/configure
+++ b/configure
@@ -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"
;;