Skip to content

Commit

Permalink
feat: add webgl2 fallback wasm
Browse files Browse the repository at this point in the history
Diffs=
b0b554d78b feat: add webgl2 fallback wasm (#9052)

Co-authored-by: Gordon <[email protected]>
  • Loading branch information
HayesGordon and HayesGordon committed Feb 18, 2025
1 parent 428c237 commit 00bf54c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .rive_head
Original file line number Diff line number Diff line change
@@ -1 +1 @@
c54d22119e48901bf9e644702fd3ae768f793af8
b0b554d78bfd1bb22c94dfc8d9425cc905780d2a
7 changes: 7 additions & 0 deletions wasm/build_all_wasm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,13 @@ OUT_DIR=build/webgl_advanced_single/bin/release ./build_wasm.sh -r skia -s relea
cp build/webgl_advanced_single/bin/release/webgl_advanced_single.mjs ../js/npm/webgl_advanced_single/webgl_advanced_single.mjs
cp ../js/src/rive_advanced.mjs.d.ts ../js/npm/webgl_advanced_single/rive_advanced.mjs.d.ts

echo
echo "::::: building @rive-app/webgl2_advanced fallback"
echo
OUT_DIR=build/webgl2_advanced/bin/release ./build_wasm.sh -c -r webgl2 release
cp build/webgl2_advanced/bin/release/webgl2_advanced.wasm ../js/npm/webgl2_advanced/rive_fallback.wasm
cp build/webgl2_advanced/bin/release/webgl2_advanced.wasm ../js/npm/webgl2/rive_fallback.wasm

echo
echo "::::: building @rive-app/webgl2_advanced"
echo
Expand Down

0 comments on commit 00bf54c

Please sign in to comment.