glfw: expose Native BackendOptions

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
Stephen Gutekanst 2022-02-26 21:44:41 -07:00 committed by Stephen Gutekanst
parent 57fb84c569
commit d61362d8fb
2 changed files with 2 additions and 1 deletions

View file

@ -28,6 +28,7 @@ pub const VideoMode = @import("VideoMode.zig");
pub const Window = @import("Window.zig");
pub const Cursor = @import("Cursor.zig");
pub const Native = @import("native.zig").Native;
pub const BackendOptions = @import("native.zig").BackendOptions;
pub const Key = key.Key;
pub usingnamespace @import("clipboard.zig");

View file

@ -8,7 +8,7 @@ const getError = @import("errors.zig").getError;
const internal_debug = @import("internal_debug.zig");
const BackendOptions = struct {
pub const BackendOptions = struct {
win32: bool = false,
wgl: bool = false,
cocoa: bool = false,