Browse Source

Do not use --disable-gpu on OSX

Might fix the 5K flickering issue.
Vincent Lang 7 years ago
parent
commit
069de6cac9
1 changed files with 7 additions and 1 deletions
  1. 7 1
      src/main.cpp

+ 7 - 1
src/main.cpp

@@ -84,7 +84,13 @@ void ShowLicenseInfo()
 }
 
 /////////////////////////////////////////////////////////////////////////////////////////
-QStringList g_qtFlags = {"--enable-viewport", "--disable-gpu", "--disable-web-security"};
+QStringList g_qtFlags = {
+  "--enable-viewport",
+#ifndef Q_OS_MAC
+  "--disable-gpu",
+#endif
+  "--disable-web-security"
+};
 
 /////////////////////////////////////////////////////////////////////////////////////////
 int main(int argc, char *argv[])