From 4dd693ed5949a76741789677200904d415299b40 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"), };