diff --git a/.rive_head b/.rive_head index 324d1b5b..2868f0c2 100644 --- a/.rive_head +++ b/.rive_head @@ -1 +1 @@ -eb8e0de93a7fed062b29c524a5ff7aabbe7f7711 +2489cb2b55780cae9d636e8c8e6a2da1afa15108 diff --git a/wasm/js/renderer.js b/wasm/js/renderer.js index a6e8ae21..4ca66f7e 100644 --- a/wasm/js/renderer.js +++ b/wasm/js/renderer.js @@ -122,7 +122,7 @@ const offscreenWebGL = new (function () { gl.shaderSource(shader, sourceCode); gl.compileShader(shader); const log = gl.getShaderInfoLog(shader); - if (log?.length > 0) { + if ((log || "").length > 0) { throw log; } gl.attachShader(program, shader);