From 3fb0417222d5c7365145f192dd22819dfb98a63d 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 5ff2bcb..b09f4bc 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"), };