From b2808fb5f195656861ccd1a143ffa9d2896009d3 Mon Sep 17 00:00:00 2001 From: zap Date: Mon, 20 Nov 2023 22:37:14 +0300 Subject: [PATCH 1/2] Added missing --preload-file for textures_image_kernel --- examples/Makefile.Web | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/examples/Makefile.Web b/examples/Makefile.Web index 05a32fa24..a3c2bb729 100644 --- a/examples/Makefile.Web +++ b/examples/Makefile.Web @@ -705,7 +705,8 @@ textures/textures_image_generation: textures/textures_image_generation.c $(CC) -o $@$(EXT) $< $(CFLAGS) $(INCLUDE_PATHS) $(LDFLAGS) $(LDLIBS) -D$(PLATFORM) -s TOTAL_MEMORY=67108864 textures/textures_image_kernel: textures/textures_image_kernel.c - $(CC) -o $@$(EXT) $< $(CFLAGS) $(INCLUDE_PATHS) $(LDFLAGS) $(LDLIBS) -D$(PLATFORM) + $(CC) -o $@$(EXT) $< $(CFLAGS) $(INCLUDE_PATHS) $(LDFLAGS) $(LDLIBS) -D$(PLATFORM) \ + --preload-file textures/resources/cat.png@resources/cat.png textures/textures_image_loading: textures/textures_image_loading.c $(CC) -o $@$(EXT) $< $(CFLAGS) $(INCLUDE_PATHS) $(LDFLAGS) $(LDLIBS) -D$(PLATFORM) \ From ce26e26177eb886c4fec16a51581f4611b8a069f Mon Sep 17 00:00:00 2001 From: Sergey Zapunidi Date: Mon, 20 Nov 2023 22:49:58 +0300 Subject: [PATCH 2/2] Added missing textures_image_kernel example in web makefile (#3555) * Added missing textures_image_kernel example in web makefile * Added missing --preload-file for textures_image_kernel --------- Co-authored-by: zap --- examples/Makefile.Web | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/examples/Makefile.Web b/examples/Makefile.Web index aa42d722e..a3c2bb729 100644 --- a/examples/Makefile.Web +++ b/examples/Makefile.Web @@ -396,6 +396,7 @@ TEXTURES = \ textures/textures_gif_player \ textures/textures_image_drawing \ textures/textures_image_generation \ + textures/textures_image_kernel \ textures/textures_image_loading \ textures/textures_image_processing \ textures/textures_image_rotate \ @@ -702,6 +703,10 @@ textures/textures_image_drawing: textures/textures_image_drawing.c textures/textures_image_generation: textures/textures_image_generation.c $(CC) -o $@$(EXT) $< $(CFLAGS) $(INCLUDE_PATHS) $(LDFLAGS) $(LDLIBS) -D$(PLATFORM) -s TOTAL_MEMORY=67108864 + +textures/textures_image_kernel: textures/textures_image_kernel.c + $(CC) -o $@$(EXT) $< $(CFLAGS) $(INCLUDE_PATHS) $(LDFLAGS) $(LDLIBS) -D$(PLATFORM) \ + --preload-file textures/resources/cat.png@resources/cat.png textures/textures_image_loading: textures/textures_image_loading.c $(CC) -o $@$(EXT) $< $(CFLAGS) $(INCLUDE_PATHS) $(LDFLAGS) $(LDLIBS) -D$(PLATFORM) \