From d1408df7baafcab02158879d5dae606952f62d5d Mon Sep 17 00:00:00 2001 From: Matthieu Gallien Date: Thu, 1 Sep 2022 13:53:27 +0200 Subject: [PATCH] let Qt use OpenGLES instead of desktop OpenGL to workaround bugs should help picking a working rendering pipeline on windows Signed-off-by: Matthieu Gallien --- src/gui/main.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/gui/main.cpp b/src/gui/main.cpp index 90f6631c5..7b457366a 100644 --- a/src/gui/main.cpp +++ b/src/gui/main.cpp @@ -59,6 +59,7 @@ void warnSystray() int main(int argc, char **argv) { qputenv("QTWEBENGINE_CHROMIUM_FLAGS", "--disable-gpu --no-sandbox"); + QCoreApplication::setAttribute(Qt::AA_UseOpenGLES); #ifdef Q_OS_WIN SetDllDirectory(L""); -- 2.30.2