mirror of
https://github.com/GravitLauncher/Launcher
synced 2024-12-22 08:31:07 +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();
|
||||
// https://github.com/Admicos/minecraft-wayland/issues/55
|
||||
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
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue