From 5be61aaf84f852bc7019fd6be6a1fb260a9a0833 Mon Sep 17 00:00:00 2001 From: Rekai Musuka Date: Sun, 26 Mar 2023 23:06:19 -0500 Subject: [PATCH] chore: update zgui --- build.zig | 4 +++- lib/zgui | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/build.zig b/build.zig index dffd8aa..1aad25e 100644 --- a/build.zig +++ b/build.zig @@ -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(); diff --git a/lib/zgui b/lib/zgui index 1dfff5e..5b2b64a 160000 --- a/lib/zgui +++ b/lib/zgui @@ -1 +1 @@ -Subproject commit 1dfff5e0b078b6ad60b58558f69cc92a0b9156e8 +Subproject commit 5b2b64a9dedd91f0cbf69ccb7a0a5ebf1fdf1691