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.
This commit is contained in:
parent
027e41632f
commit
fee13a8505
1 changed files with 4 additions and 1 deletions
5
configure
vendored
5
configure
vendored
|
@ -3432,7 +3432,10 @@ if test -n "$_host"; then
|
||||||
;;
|
;;
|
||||||
switch)
|
switch)
|
||||||
_backend="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
|
_vkeybd=yes
|
||||||
_port_mk="backends/platform/sdl/switch/switch.mk"
|
_port_mk="backends/platform/sdl/switch/switch.mk"
|
||||||
;;
|
;;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue