feat: add support for mach-glfw using Zig v2024.1.0-mach

This commit is contained in:
2024-01-23 12:49:56 -06:00
parent 0284173d16
commit 18dc55afe4
3 changed files with 829 additions and 1 deletions

View File

@@ -7,7 +7,7 @@
pub const plot = @import("plot.zig");
pub const backend = switch (@import("zgui_options").backend) {
.glfw_wgpu => @import("backend_glfw_wgpu.zig"),
.glfw_opengl3 => @import("backend_glfw_opengl.zig"),
.glfw_opengl3, .mach_glfw_opengl3 => @import("backend_glfw_opengl.zig"),
.win32_dx12 => .{}, // TODO:
.no_backend => .{},
};