chore: update zgui

This commit is contained in:
2023-03-26 23:06:19 -05:00
parent 0dbba2fb9a
commit b879c76510
2 changed files with 4 additions and 2 deletions

View File

@@ -60,7 +60,9 @@ pub fn build(b: *std.build.Builder) void {
exe.addModule("sdl2", sdk.getNativeModule());
// Dear ImGui bindings
const zgui_pkg = zgui.package(b, target, optimize, .{ .options = .{ .backend = .sdl2_opengl3 } });
// .shared option should stay in sync with SDL.zig call above where true == .dynamic, and false == .static
const zgui_pkg = zgui.package(b, target, optimize, .{ .options = .{ .backend = .sdl2_opengl3, .shared = true } });
zgui_pkg.link(exe);
exe.install();