From 54320275357f2ca05ec26391391a7bd471aa02c6 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"), };