From 561ab2fface68ba2b2872bf6b7223cca5d17a8cd Mon Sep 17 00:00:00 2001 From: Rekai Musuka Date: Sat, 18 Mar 2023 00:08:25 -0500 Subject: [PATCH] chore: handle all cases of enum --- src/main.zig | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/main.zig b/src/main.zig index cc9e9e6..1ac8d34 100644 --- a/src/main.zig +++ b/src/main.zig @@ -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"), };