From fec6d4e3c24323540d8b5d4e880d0f57e96c1b25 Mon Sep 17 00:00:00 2001 From: Alex Spataru Date: Mon, 6 Dec 2021 21:07:17 -0600 Subject: [PATCH] Force Windows & Linux to use ANGLE (like macOS does) --- src/main.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/main.cpp b/src/main.cpp index 44a5b501..062d8f5e 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -88,6 +88,11 @@ int main(int argc, char **argv) QApplication::setAttribute(Qt::AA_UseDesktopOpenGL); #endif + // Force non-threaded rendering on Windows & Linux (macOS disables this by default) +#if !defined(Q_OS_MAC) + QApplication::setAttribute(Qt::AA_UseOpenGLES); +#endif + // Init. application QApplication app(argc, argv); app.setApplicationName(APP_NAME);