Compare commits

..

No commits in common. "d49941096ae046f9be7f81601279c557a127d1c5" and "2e734f40253a6132e5ed9ce5614f244a05870373" have entirely different histories.

3 changed files with 4 additions and 8 deletions

View file

@ -11,9 +11,9 @@ build to [jumpartifact.com/demo0](https://jumpartifact.com/demo0/).
Clone `https://github.com/emscripten-core/emsdk.git` to `${HOME}/git/emsdk`, and Clone `https://github.com/emscripten-core/emsdk.git` to `${HOME}/git/emsdk`, and
run the following commands in the cloned directory: run the following commands in the cloned directory:
git checkout 3.1.56 git checkout 3.1.50
./emsdk install 3.1.56 ./emsdk install 3.1.50
./emsdk activate 3.1.56 ./emsdk activate 3.1.50
Now you can use emsdk by sourcing the `emsdk_env.sh` file and using emcc/em++. Now you can use emsdk by sourcing the `emsdk_env.sh` file and using emcc/em++.
The Makefile in `wasm_build/` should now "just work" with `make`. The Makefile in `wasm_build/` should now "just work" with `make`.

View file

@ -1 +1 @@
3.1.56 3.1.50

View file

@ -57,11 +57,7 @@ void jumpartifact_demo_update(void *ud) {
} }
int main() { int main() {
#ifdef __EMSCRIPTEN__
InitWindow(call_js_get_canvas_width(), call_js_get_canvas_height(), "Demo");
#else
InitWindow(800, 800, "Demo"); InitWindow(800, 800, "Demo");
#endif
#ifdef NDEBUG #ifdef NDEBUG
SetTraceLogLevel(LOG_WARNING); SetTraceLogLevel(LOG_WARNING);