summaryrefslogtreecommitdiffhomepage
path: root/examples
diff options
context:
space:
mode:
authorraysan5 <[email protected]>2020-10-10 19:25:23 +0200
committerraysan5 <[email protected]>2020-10-10 19:25:23 +0200
commitc62c4df749b36dc9d00d7cbab81261eddc4dae5a (patch)
tree385cfa88f65fa134cb56a6c9f91cdd850db02879 /examples
parent6ebf6b4e7225c2d42dac5db86231ac282d1265ff (diff)
downloadraylib-c62c4df749b36dc9d00d7cbab81261eddc4dae5a.tar.gz
raylib-c62c4df749b36dc9d00d7cbab81261eddc4dae5a.zip
Updated miniaudio #1402
Diffstat (limited to 'examples')
-rw-r--r--examples/Makefile8
-rw-r--r--examples/models/resources/canary_wharf_2k.hdrbin0 -> 6582992 bytes
2 files changed, 7 insertions, 1 deletions
diff --git a/examples/Makefile b/examples/Makefile
index a218cf9e..48524e3d 100644
--- a/examples/Makefile
+++ b/examples/Makefile
@@ -248,7 +248,13 @@ ifeq ($(PLATFORM),PLATFORM_WEB)
# --profiling # include information for code profiling
# --memory-init-file 0 # to avoid an external memory initialization code file (.mem)
# --preload-file resources # specify a resources folder for data compilation
- CFLAGS += -s USE_GLFW=3 -s FORCE_FILESYSTEM=1 -s ASYNCIFY --preload-file $(dir $<)resources@resources
+ CFLAGS += -s USE_GLFW=3 -s FORCE_FILESYSTEM=1 -s ASYNCIFY -s TOTAL_MEMORY=67108864
+ CFLAGS += --preload-file models/resources/shaders/glsl100/skybox.vs@resources/shaders/glsl100/skybox.vs
+ CFLAGS += --preload-file models/resources/shaders/glsl100/skybox.fs@resources/shaders/glsl100/skybox.fs
+ CFLAGS += --preload-file models/resources/dresden_square_2k.hdr@resources/dresden_square_2k.hdr
+ CFLAGS += --preload-file models/resources/shaders/glsl100/cubemap.vs@resources/shaders/glsl100/cubemap.vs
+ CFLAGS += --preload-file models/resources/shaders/glsl100/cubemap.fs@resources/shaders/glsl100/cubemap.fs
+ #$(dir $<)resources@resources
# NOTE: Simple raylib examples are compiled to be interpreter by emterpreter, that way,
# we can compile same code for ALL platforms with no change required, but, working on bigger
diff --git a/examples/models/resources/canary_wharf_2k.hdr b/examples/models/resources/canary_wharf_2k.hdr
new file mode 100644
index 00000000..8346abe5
--- /dev/null
+++ b/examples/models/resources/canary_wharf_2k.hdr
Binary files differ