{mach, gpu-dawn}: don't hardcode linux window manager to X11
This commit is contained in:
parent
8a645fa1bf
commit
a97a33334c
3 changed files with 58 additions and 60 deletions
|
|
@ -156,7 +156,7 @@ pub fn detectGLFWOptions() glfw.BackendOptions {
|
|||
if (target.isDarwin()) return .{ .cocoa = true };
|
||||
return switch (target.os.tag) {
|
||||
.windows => .{ .win32 = true },
|
||||
.linux => .{ .x11 = true },
|
||||
.linux => .{ .x11 = true, .wayland = true },
|
||||
else => .{},
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue