@rive-app/webgl2-advanced 2.25.4 → 2.25.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rive-app/webgl2-advanced",
3
- "version": "2.25.4",
3
+ "version": "2.25.6",
4
4
  "description": "Rive's webgl2 low-level canvas based web api.",
5
5
  "main": "webgl2_advanced.mjs",
6
6
  "homepage": "https://rive.app",
package/rive.wasm CHANGED
Binary file
@@ -408,7 +408,7 @@ function Na(a, b) {
408
408
  return Ma(c, a, b);
409
409
  }));
410
410
  }
411
- var Oa, Pa, Ta = {494878:(a, b, c, d, e) => {
411
+ var Oa, Pa, Ta = {500942:(a, b, c, d, e) => {
412
412
  if ("undefined" === typeof window || void 0 === (window.AudioContext || window.webkitAudioContext)) {
413
413
  return 0;
414
414
  }
@@ -471,9 +471,9 @@ var Oa, Pa, Ta = {494878:(a, b, c, d, e) => {
471
471
  }
472
472
  window.h.Da += 1;
473
473
  return 1;
474
- }, 497056:() => {
474
+ }, 503120:() => {
475
475
  "undefined" !== typeof window.h && (--window.h.Da, 0 === window.h.Da && delete window.h);
476
- }, 497220:() => void 0 !== navigator.mediaDevices && void 0 !== navigator.mediaDevices.getUserMedia, 497324:() => {
476
+ }, 503284:() => void 0 !== navigator.mediaDevices && void 0 !== navigator.mediaDevices.getUserMedia, 503388:() => {
477
477
  try {
478
478
  var a = new (window.AudioContext || window.webkitAudioContext)(), b = a.sampleRate;
479
479
  a.close();
@@ -481,7 +481,7 @@ var Oa, Pa, Ta = {494878:(a, b, c, d, e) => {
481
481
  } catch (c) {
482
482
  return 0;
483
483
  }
484
- }, 497495:(a, b, c, d, e, f) => {
484
+ }, 503559:(a, b, c, d, e, f) => {
485
485
  if ("undefined" === typeof window.h) {
486
486
  return -1;
487
487
  }
@@ -527,7 +527,7 @@ var Oa, Pa, Ta = {494878:(a, b, c, d, e) => {
527
527
  a == window.h.H.Ba && g.Z.connect(g.I.destination);
528
528
  g.kb = f;
529
529
  return window.h.mc(g);
530
- }, 500372:a => window.h.va(a).I.sampleRate, 500445:a => {
530
+ }, 506436:a => window.h.va(a).I.sampleRate, 506509:a => {
531
531
  a = window.h.va(a);
532
532
  void 0 !== a.Z && (a.Z.onaudioprocess = function() {
533
533
  }, a.Z.disconnect(), a.Z = void 0);
@@ -535,13 +535,13 @@ var Oa, Pa, Ta = {494878:(a, b, c, d, e) => {
535
535
  a.I.close();
536
536
  a.I = void 0;
537
537
  a.kb = void 0;
538
- }, 500845:a => {
538
+ }, 506909:a => {
539
539
  window.h.xb(a);
540
- }, 500895:a => {
540
+ }, 506959:a => {
541
541
  a = window.h.va(a);
542
542
  a.I.resume();
543
543
  a.state = window.h.ia.sb;
544
- }, 501034:a => {
544
+ }, 507098:a => {
545
545
  a = window.h.va(a);
546
546
  a.I.suspend();
547
547
  a.state = window.h.ia.stopped;
@@ -3235,6 +3235,8 @@ var Wd = {__syscall_fcntl64:function(a, b, c) {
3235
3235
  Z.enable(a);
3236
3236
  }, glEnableVertexAttribArray:function(a) {
3237
3237
  Z.enableVertexAttribArray(a);
3238
+ }, glFlush:function() {
3239
+ Z.flush();
3238
3240
  }, glFramebufferRenderbuffer:function(a, b, c, d) {
3239
3241
  Z.framebufferRenderbuffer(a, b, c, xd[d]);
3240
3242
  }, glFramebufferTexture2D:function(a, b, c, d, e) {
@@ -3447,8 +3449,8 @@ m.dynCall_viijii = (a, b, c, d, e, f, g) => (m.dynCall_viijii = A.dynCall_viijii
3447
3449
  m.dynCall_iiiiij = (a, b, c, d, e, f, g) => (m.dynCall_iiiiij = A.dynCall_iiiiij)(a, b, c, d, e, f, g);
3448
3450
  m.dynCall_iiiiijj = (a, b, c, d, e, f, g, n, p) => (m.dynCall_iiiiijj = A.dynCall_iiiiijj)(a, b, c, d, e, f, g, n, p);
3449
3451
  m.dynCall_iiiiiijj = (a, b, c, d, e, f, g, n, p, l) => (m.dynCall_iiiiiijj = A.dynCall_iiiiiijj)(a, b, c, d, e, f, g, n, p, l);
3450
- m.___start_em_js = 492444;
3451
- m.___stop_em_js = 494878;
3452
+ m.___start_em_js = 498508;
3453
+ m.___stop_em_js = 500942;
3452
3454
  var Xd;
3453
3455
  Ga = function Yd() {
3454
3456
  Xd || Zd();