chore: update zgui

This commit is contained in:
Rekai Nyangadzayi Musuka 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()); exe.addModule("sdl2", sdk.getNativeModule());
// Dear ImGui bindings // 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); zgui_pkg.link(exe);
exe.install(); exe.install();

@ -1 +1 @@
Subproject commit 1dfff5e0b078b6ad60b58558f69cc92a0b9156e8 Subproject commit 5b2b64a9dedd91f0cbf69ccb7a0a5ebf1fdf1691