Skip to content

Commit

Permalink
Remove web console spam
Browse files Browse the repository at this point in the history
Left over from https://github.com/rive-app/rive/pull/8484

Diffs=
076c423a6a Remove web console spam (#8530)

Co-authored-by: Luigi Rosso <luigi-rosso@users.noreply.github.com>
  • Loading branch information
luigi-rosso and luigi-rosso committed Nov 12, 2024
1 parent e357815 commit 2245c55
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion .rive_head
Original file line number Diff line number Diff line change
@@ -1 +1 @@
6804948c904238aa9c3f645d42f23c81a425f417
076c423a6a10893b51d1f351aa560cf716c31fba
2 changes: 0 additions & 2 deletions wasm/src/bindings_webgl2.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -121,11 +121,9 @@ EM_JS(void, upload_image, (EMSCRIPTEN_WEBGL_CONTEXT_HANDLE gl, uintptr_t renderI
var image = images.get(renderImage);
if (!image)
{
console.log("NO IMAGE");
return;
}
gl = GL.getContext(gl).GLctx;
console.log("GL IS", gl, image);
gl.texImage2D(gl.TEXTURE_2D, 0, gl.RGBA, gl.RGBA, gl.UNSIGNED_BYTE, image);
images.delete(renderImage);
});
Expand Down

0 comments on commit 2245c55

Please sign in to comment.