From fee13a850533e4b806409a8a67bd5aac663fab53 Mon Sep 17 00:00:00 2001 From: rsn8887 Date: Fri, 21 Jun 2019 10:26:11 -0500 Subject: [PATCH] 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. --- configure | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/configure b/configure index 35817708aa1..f56ebed2b25 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" ;;