chore: handle all cases of enum

This commit is contained in:
Rekai Nyangadzayi Musuka 2023-03-18 00:08:25 -05:00
parent 367dd7a99e
commit 1ff2abf816
1 changed files with 1 additions and 2 deletions

View File

@ -11,6 +11,5 @@ 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_opengl3.zig"),
.win32_dx12 => .{}, // TODO:
.no_backend => .{},
.no_backend, .win32_dx12, .sdl2_opengl3 => @panic("unsupported backend"),
};