[Scummvm-git-logs] scummvm master -> fee13a850533e4b806409a8a67bd5aac663fab53

rsn8887 rsn8887 at users.noreply.github.com
Fri Jun 21 17:27:58 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:
fee13a8505 CONFIGURE: Disable OpenGL on Switch because it crashes


Commit: fee13a850533e4b806409a8a67bd5aac663fab53
    https://github.com/scummvm/scummvm/commit/fee13a850533e4b806409a8a67bd5aac663fab53
Author: rsn8887 (rsn8887 at users.noreply.github.com)
Date: 2019-06-21T10:27:45-05:00

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

Changed paths:
    configure


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





More information about the Scummvm-git-logs mailing list