aboutsummaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorrsn88872019-06-21 11:01:56 -0500
committerrsn88872019-06-21 11:01:56 -0500
commit6dc1d1c0281679123e2b66ff1b0ca2b79b102678 (patch)
treeadd4cc57488da81af12b4728852ee3f1139f9495 /configure
parentfee13a850533e4b806409a8a67bd5aac663fab53 (diff)
downloadscummvm-rg350-6dc1d1c0281679123e2b66ff1b0ca2b79b102678.tar.gz
scummvm-rg350-6dc1d1c0281679123e2b66ff1b0ca2b79b102678.tar.bz2
scummvm-rg350-6dc1d1c0281679123e2b66ff1b0ca2b79b102678.zip
CONFIGURE: Re-enable OpenGL on Switch, because it works
OpenGL works when enabled from the start in scummvm.ini, when ScummVM is compiled with latest Switch toolchain packages. It only crashes when switching between SDL modes and OpenGL while ScummVM is running.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure9
1 files changed, 5 insertions, 4 deletions
diff --git a/configure b/configure
index f56ebed2b2..a66610e0d0 100755
--- a/configure
+++ b/configure
@@ -3432,10 +3432,11 @@ if test -n "$_host"; then
;;
switch)
_backend="switch"
- # _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
+ # Switch port crashes when switching between SDL2 and OpenGL
+ # graphics. But OpenGL works when it is enabled from the start.
+ # This might be related to a known crash on OpenGL de-init due
+ # to the OpenGL implementation on this platform.
+ _opengl_mode=gles2
_vkeybd=yes
_port_mk="backends/platform/sdl/switch/switch.mk"
;;