Quellcode durchsuchen

Use ANGLE by default on Windows

ANGLE is still not always better, but it is certainly infinitely better
than OpenGL as a default. OpenGL tends to cause lots of glitches,
because the interaction with DWM is bad (Microsoft doesn't care about
OpenGL at all).

On the other hand, we're stuck with ANGLE running in GLES 2.0 mode, so
no advanced filtering is available. But it still requires manual
configuration, so having to enable OpenGL mode in the settings isn't
mucn of a disimprovement.
Vincent Lang vor 9 Jahren
Ursprung
Commit
e6b46fc7bf
2 geänderte Dateien mit 2 neuen und 2 gelöschten Zeilen
  1. 1 1
      resources/settings/settings_description.json
  2. 1 1
      src/main.cpp

+ 1 - 1
resources/settings/settings_description.json

@@ -77,7 +77,7 @@
       {
         "value": "useOpenGL",
         // Warning: the default must be the same as the one in preinitQt().
-        "default": true,
+        "default": false,
         "platforms": [ "windows" ]
       }
     ]

+ 1 - 1
src/main.cpp

@@ -40,7 +40,7 @@ static void preinitQt()
   // Warning: this must be the same as the default value as declared in
   // the settings_description.json file, or confusion will result.
   if (useOpengl.type() != QMetaType::Bool)
-    useOpengl = true;
+    useOpengl = false;
 
   if (useOpengl.toBool())
     QCoreApplication::setAttribute(Qt::AA_UseDesktopOpenGL);