fix: ensure that main.zig is removed

This commit is contained in:
Rekai Nyangadzayi Musuka 2023-06-19 10:51:43 -05:00
parent c1385f7767
commit 795698972f
2 changed files with 2 additions and 17 deletions

View File

@ -9,6 +9,8 @@ pub const version = @import("std").SemanticVersion{ .major = 1, .minor = 89, .pa
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"),
.sdl2_opengl3 => @import("backend_sdl2_opengl3.zig"),
.win32_dx12 => .{}, // TODO:
.no_backend => .{},
};

View File

@ -1,17 +0,0 @@
//--------------------------------------------------------------------------------------------------
//
// Zig bindings for 'dear imgui' library. Easy to use, hand-crafted API with default arguments,
// named parameters and Zig style text formatting.
//
//--------------------------------------------------------------------------------------------------
pub const version = @import("std").SemanticVersion{ .major = 0, .minor = 9, .patch = 6 };
pub usingnamespace @import("gui.zig");
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"),
.sdl2_opengl3 => @import("backend_sdl2_opengl3.zig"),
.win32_dx12 => .{}, // TODO:
.no_backend => .{},
};