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:
parent
de8c2d4585
commit
0dcee846f4
1 changed files with 1 additions and 4 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue