[Scummvm-git-logs] scummvm master -> 6dc1d1c0281679123e2b66ff1b0ca2b79b102678

rsn8887 rsn8887 at users.noreply.github.com
Fri Jun 21 18:06:46 CEST 2019


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
6dc1d1c028 CONFIGURE: Re-enable OpenGL on Switch, because it works


Commit: 6dc1d1c0281679123e2b66ff1b0ca2b79b102678
    https://github.com/scummvm/scummvm/commit/6dc1d1c0281679123e2b66ff1b0ca2b79b102678
Author: rsn8887 (rsn8887 at users.noreply.github.com)
Date: 2019-06-21T11:01:56-05:00

Commit Message:
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.

Changed paths:
    configure


diff --git a/configure b/configure
index f56ebed..a66610e 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"
 			;;





More information about the Scummvm-git-logs mailing list