chore: handle all cases of enum
This commit is contained in:
parent
bcd0e8be1f
commit
5432027535
|
@ -11,6 +11,5 @@ pub const plot = @import("plot.zig");
|
||||||
pub const backend = switch (@import("zgui_options").backend) {
|
pub const backend = switch (@import("zgui_options").backend) {
|
||||||
.glfw_wgpu => @import("backend_glfw_wgpu.zig"),
|
.glfw_wgpu => @import("backend_glfw_wgpu.zig"),
|
||||||
.glfw_opengl3 => @import("backend_glfw_opengl3.zig"),
|
.glfw_opengl3 => @import("backend_glfw_opengl3.zig"),
|
||||||
.win32_dx12 => .{}, // TODO:
|
.no_backend, .win32_dx12, .sdl2_opengl3 => @panic("unsupported backend"),
|
||||||
.no_backend => .{},
|
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue