Skip to content
This repository was archived by the owner on Mar 28, 2026. It is now read-only.

Commit 2a3dada

Browse files
committed
Revert "Prevent issue where wayland has black screen due to broken gpu accel (#165, #610)"
This reverts commit c1cae32.
1 parent e919116 commit 2a3dada

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

src/main.cpp

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -82,10 +82,7 @@ void ShowLicenseInfo()
8282
/////////////////////////////////////////////////////////////////////////////////////////
8383
QStringList g_qtFlags = {
8484
"--disable-web-security",
85-
"--enable-gpu-rasterization",
86-
#ifdef Q_OS_LINUX
87-
"--disable-gpu"
88-
#endif
85+
"--enable-gpu-rasterization"
8986
};
9087

9188
/////////////////////////////////////////////////////////////////////////////////////////
@@ -110,7 +107,7 @@ int main(int argc, char *argv[])
110107
"the scale (DPI) of the desktop interface.");
111108
scaleOption.setValueName("scale");
112109
scaleOption.setDefaultValue("auto");
113-
110+
114111
auto platformOption = QCommandLineOption("platform", "Equivalant to QT_QPA_PLATFORM.");
115112
platformOption.setValueName("platform");
116113
platformOption.setDefaultValue("default");
@@ -173,7 +170,7 @@ int main(int argc, char *argv[])
173170
QApplication app(newArgc, newArgv);
174171
app.setApplicationName("Jellyfin Media Player");
175172

176-
#if defined(Q_OS_WIN)
173+
#if defined(Q_OS_WIN)
177174
// Setting window icon on OSX will break user ability to change it
178175
app.setWindowIcon(QIcon(":/images/icon.png"));
179176
#endif

0 commit comments

Comments
 (0)