diff --git a/examples/Makefile.Web b/examples/Makefile.Web index 497a8719e..95ea17290 100644 --- a/examples/Makefile.Web +++ b/examples/Makefile.Web @@ -1596,8 +1596,9 @@ audio/audio_sound_positioning: audio/audio_sound_positioning.c $(CC) -o $@$(EXT) $< $(CFLAGS) $(INCLUDE_PATHS) $(LDFLAGS) $(LDLIBS) -D$(PLATFORM) \ --preload-file audio/resources/coin.wav@resources/coin.wav +# spectrum example needs a higher stack, 128kb from the default 64kb audio/audio_spectrum_visualizer: audio/audio_spectrum_visualizer.c - $(CC) -o $@$(EXT) $< -sSTACK_SIZE=2097152 $(CFLAGS) $(INCLUDE_PATHS) $(LDFLAGS) $(LDLIBS) -D$(PLATFORM) \ + $(CC) -o $@$(EXT) $< -sSTACK_SIZE=131072 $(CFLAGS) $(INCLUDE_PATHS) $(LDFLAGS) $(LDLIBS) -D$(PLATFORM) \ --preload-file audio/resources/shaders/glsl100/fft.fs@resources/shaders/glsl100/fft.fs \ --preload-file audio/resources/country.mp3@resources/country.mp3