diff --git a/glfw/src/main.zig b/glfw/src/main.zig index 50ec9f07..22cfd66a 100644 --- a/glfw/src/main.zig +++ b/glfw/src/main.zig @@ -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"); diff --git a/glfw/src/native.zig b/glfw/src/native.zig index 299ab42e..81d30a06 100644 --- a/glfw/src/native.zig +++ b/glfw/src/native.zig @@ -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,