Meta: Use gl=off for QEMU by default

This commit is contained in:
Gunnar Beutner 2021-07-11 19:55:09 +02:00 committed by Andreas Kling
parent 8e4978fe04
commit bc5d50e78b
Notes: sideshowbarker 2024-07-18 09:15:56 +09:00

View File

@ -92,7 +92,7 @@ if (uname -a | grep -iq WSL) || (uname -a | grep -iq microsoft); then
# Also, when using the GTK backend we run into this problem: https://github.com/SerenityOS/serenity/issues/7657
SERENITY_QEMU_DISPLAY_BACKEND="${SERENITY_QEMU_DISPLAY_BACKEND:-sdl,gl=off}"
elif [ $SERENITY_SCREENS = 1 ]; then
SERENITY_QEMU_DISPLAY_BACKEND="${SERENITY_QEMU_DISPLAY_BACKEND:-gtk,gl=on}"
SERENITY_QEMU_DISPLAY_BACKEND="${SERENITY_QEMU_DISPLAY_BACKEND:-gtk,gl=off}"
elif ("${SERENITY_QEMU_BIN}" --display help | grep -iq sdl) && (ldconfig -p | grep -iq virglrenderer); then
SERENITY_QEMU_DISPLAY_BACKEND="${SERENITY_QEMU_DISPLAY_BACKEND:-sdl,gl=on}"
elif "${SERENITY_QEMU_BIN}" --display help | grep -iq cocoa; then