GH-2026 start Minecraft on first thread on macOS

This should fix issues with the 1.13 snapshots
This commit is contained in:
Petr Mrázek 2017-10-28 22:56:18 +02:00
parent d4b82f11ca
commit 4b80d34be4

View File

@ -299,6 +299,11 @@ QStringList MinecraftInstance::javaArguments() const
args << QString("-Xdock:name=\"%1\"").arg(windowTitle());
#endif
// HACK: fix issues on macOS with 1.13 snapshots
#ifdef Q_OS_WIN32
args << QString("-XstartOnFirstThread");
#endif
// HACK: Stupid hack for Intel drivers. See: https://mojang.atlassian.net/browse/MCL-767
#ifdef Q_OS_WIN32
args << QString("-XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_"