Skip to content

Commit 28e8ee5

Browse files
authored
Merge pull request #78 from funatsufumiya/feat_submodule_sokol_mg
feat: expose sokol module for shaders #77
2 parents 2a38275 + 3e44be1 commit 28e8ee5

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

build.zig

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,9 @@ pub fn build(b: *std.Build) !void {
113113
.optimize = optimize,
114114
});
115115

116+
// Sokol module (exposed for using shader file outside of delve)
117+
try b.modules.put("sokol", dep_sokol.module("sokol"));
118+
116119
for (build_collection.add_imports) |build_import| {
117120
delve_mod.addImport(build_import.name, build_import.module);
118121
}

0 commit comments

Comments
 (0)