Compare commits
2 Commits
b879c76510
...
ca331c60c6
Author | SHA1 | Date |
---|---|---|
Rekai Nyangadzayi Musuka | ca331c60c6 | |
Rekai Nyangadzayi Musuka | 0010925caa |
|
@ -60,9 +60,7 @@ 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();
|
||||||
|
|
2
lib/zgui
2
lib/zgui
|
@ -1 +1 @@
|
||||||
Subproject commit 5b2b64a9dedd91f0cbf69ccb7a0a5ebf1fdf1691
|
Subproject commit 70d7c0dc02484de5226e8fe0f1284ac781826252
|
Loading…
Reference in New Issue