GH-2026 start Minecraft on first thread on macOS
This should fix issues with the 1.13 snapshots
This commit is contained in:
parent
d4b82f11ca
commit
4b80d34be4
@ -299,6 +299,11 @@ QStringList MinecraftInstance::javaArguments() const
|
|||||||
args << QString("-Xdock:name=\"%1\"").arg(windowTitle());
|
args << QString("-Xdock:name=\"%1\"").arg(windowTitle());
|
||||||
#endif
|
#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
|
// HACK: Stupid hack for Intel drivers. See: https://mojang.atlassian.net/browse/MCL-767
|
||||||
#ifdef Q_OS_WIN32
|
#ifdef Q_OS_WIN32
|
||||||
args << QString("-XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_"
|
args << QString("-XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_"
|
||||||
|
Loading…
Reference in New Issue
Block a user