Add both field for runtime Linux platform detection (#179)

Add `both` field to allow GLFW to use runtime platform detection
This commit is contained in:
Alexander Moening authored and GitHub committed 2024-12-20 17:12:46 +01:00
1 parent de8c2d4585
commit 0dcee846f4
1 file changed
+1 -4
+1 -4
View File
@@ -28,10 +28,7 @@ pub const OpenglVersion = enum {
gles_3,
};
pub const LinuxDisplayBackend = enum {
X11,
Wayland,
};
pub const LinuxDisplayBackend = enum { X11, Wayland, Both };
pub const PlatformBackend = enum {
glfw,