yuzu-launcher.sh: use Wayland even on NVIDIA GPU

This reverts commit d748ef03f1.
This commit is contained in:
liushuyu 2024-01-05 18:45:19 -07:00
parent 1720f973ce
commit f7450e3718
2 changed files with 1 additions and 7 deletions

@ -1 +1 @@
Subproject commit 80aa46759c01ab75dadfc8e7166cc1e2f06d2d62
Subproject commit 55a8e460c6343229597a13e973ba4855c27a1c4c

View file

@ -13,12 +13,6 @@ EOF
zenity --warning --no-wrap --title "That's awkward ..." --text "$MESSAGE"
}
# Use X11 if user has a NVIDIA card
# see https://github.com/flathub/org.yuzu_emu.yuzu/issues/1309
if test -c /dev/nvidiactl; then
export QT_QPA_PLATFORM=xcb
fi
# Discord RPC
for i in {0..9}; do
test -S "$XDG_RUNTIME_DIR"/"discord-ipc-$i" || ln -sf {app/com.discordapp.Discord,"$XDG_RUNTIME_DIR"}/"discord-ipc-$i";