summarylogtreecommitdiffstats
path: root/fix-gpu-acceleration.patch
blob: adc3f9e2e958b3488be9f4040d674822bd4bd449 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
diff --git a/src/main.cpp b/src/main.cpp
index 75e6033..1172568 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -82,10 +82,7 @@ void ShowLicenseInfo()
 /////////////////////////////////////////////////////////////////////////////////////////
 QStringList g_qtFlags = {
   "--disable-web-security",
-  "--enable-gpu-rasterization",
-#ifdef Q_OS_LINUX
-  "--disable-gpu"
-#endif
+  "--enable-gpu-rasterization"
 };
 
 /////////////////////////////////////////////////////////////////////////////////////////
@@ -110,7 +107,7 @@ int main(int argc, char *argv[])
                                                           "the scale (DPI) of the desktop interface.");
     scaleOption.setValueName("scale");
     scaleOption.setDefaultValue("auto");
-
+    
     auto platformOption = QCommandLineOption("platform", "Equivalant to QT_QPA_PLATFORM.");
     platformOption.setValueName("platform");
     platformOption.setDefaultValue("default");
@@ -173,7 +170,7 @@ int main(int argc, char *argv[])
     QApplication app(newArgc, newArgv);
     app.setApplicationName("Jellyfin Media Player");
 
-#if defined(Q_OS_WIN)
+#if defined(Q_OS_WIN) 
     // Setting window icon on OSX will break user ability to change it
     app.setWindowIcon(QIcon(":/images/icon.png"));
 #endif