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 2024-12-20 11:12:46 -05:00 committed by GitHub
parent de8c2d4585
commit 0dcee846f4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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,