mirror of
https://github.com/GravitLauncher/Launcher
synced 2024-12-22 16:41:46 +03:00
[FIX] Wayland support
This commit is contained in:
parent
449798d52b
commit
90f6d002d1
1 changed files with 1 additions and 1 deletions
|
@ -177,7 +177,7 @@ public void start(boolean pipeOutput) throws IOException, InterruptedException {
|
||||||
var env = processBuilder.environment();
|
var env = processBuilder.environment();
|
||||||
// https://github.com/Admicos/minecraft-wayland/issues/55
|
// https://github.com/Admicos/minecraft-wayland/issues/55
|
||||||
env.put("__GL_THREADED_OPTIMIZATIONS", "0");
|
env.put("__GL_THREADED_OPTIMIZATIONS", "0");
|
||||||
if(params.lwjglGlfwWayland) {
|
if(params.lwjglGlfwWayland && !params.profile.hasFlag(ClientProfile.CompatibilityFlags.WAYLAND_USE_CUSTOM_GLFW)) {
|
||||||
env.remove("DISPLAY"); // No X11
|
env.remove("DISPLAY"); // No X11
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue