projects
/
mandelwow.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Attempt at enabling WebGL2 in wasm (not yet working).
[mandelwow.git]
/
debug_asmjs.sh
diff --git a/debug_asmjs.sh
b/debug_asmjs.sh
new file mode 100755
(executable)
index 0000000..
4536095
--- /dev/null
+++ b/
debug_asmjs.sh
@@ -0,0
+1,4
@@
+set -e
+cargo rustc --target asmjs-unknown-emscripten --bin mandelwow -- -C link-args='--emrun -s USE_WEBGL2=1 -s USE_SDL=2 -s ASSERTIONS=2 --preload-file flora.xm'
+cp -a target/asmjs-unknown-emscripten/debug/mandelwow.js .
+emrun .