Update dependencies

This commit is contained in:
Przemyslaw Gasinski 2024-07-14 22:13:14 +02:00
parent f2535de9a9
commit c391c53eea
2 changed files with 6 additions and 6 deletions

View file

@ -31,8 +31,8 @@ pub fn build(b: *std.Build) void {
exe.root_module.addImport("shaders", shader_comp.getModule());
// SDL2
const sdl_sdk = sdl.init(b, null);
sdl_sdk.link(exe, .dynamic);
const sdl_sdk = sdl.init(b, null, null);
sdl_sdk.link(exe, .dynamic, .SDL2);
exe.root_module.addImport("sdl2", sdl_sdk.getWrapperModuleVulkan(vkzig_bindings));
b.installArtifact(exe);

View file

@ -5,12 +5,12 @@
.dependencies = .{
.vulkan_zig = .{
.url = "https://github.com/Snektron/vulkan-zig/archive/f637a0d2525f62c7803c18c89a95cc2f8d8b2789.tar.gz",
.hash = "12209c5e452e25acb4570cda7cfec3c23bac53b49dbcfb96b4555d0e73c39310283b",
.url = "https://github.com/Snektron/vulkan-zig/archive/66b7b773bb61e2102025f2d5ff0ae8c5f53e19cc.tar.gz",
.hash = "12208958f173b8b81bfac797955f0416ab38b21d1f69d4ebf6c7ca460a828a41cd45",
},
.sdl = .{
.url = "https://github.com/ikskuh/SDL.zig/archive/3d310985c2e8b77df2af8089a9bfb052eea62c7d.tar.gz",
.hash = "1220821a34cc5fa538f4f5f96541322019e73104586e4f3fbafc614646e8e9bf64d0",
.url = "https://github.com/ikskuh/SDL.zig/archive/fac81ec499cfd64da7b846de27f6db4a0d4943bf.tar.gz",
.hash = "12206c3d312175cf6a1bf1e8247ace5ac49ed8be80a94d8857d7d41fd7d1aee7ac4b",
},
},