From 0c5058db7445fd4e5cfb6fe1421aec38f945541b Mon Sep 17 00:00:00 2001 From: ousttrue Date: Mon, 23 Sep 2024 23:38:23 +0900 Subject: [PATCH] stb --- deps/sokol_samples/build.zig | 1 + 1 file changed, 1 insertion(+) diff --git a/deps/sokol_samples/build.zig b/deps/sokol_samples/build.zig index 516653b..6929ce0 100644 --- a/deps/sokol_samples/build.zig +++ b/deps/sokol_samples/build.zig @@ -18,6 +18,7 @@ const emcc_extra_args = [_][]const u8{ "-sTOTAL_MEMORY=512MB", "-sALLOW_MEMORY_GROWTH=0", "-sUSE_OFFSET_CONVERTER=1", + "-sSTB_IMAGE=1", } ++ (if (builtin.mode == .Debug) debug_flags else release_flags); pub fn build(b: *std.Build) void {