diff --git a/src/renderers/webgl/WebGLTextures.js b/src/renderers/webgl/WebGLTextures.js index 022f5c57d9e2761d24bd7abe7e31a4f5cb1251c2..3e7af9b7698a67806290d527a5ba24d21275b630 100644 --- a/src/renderers/webgl/WebGLTextures.js +++ b/src/renderers/webgl/WebGLTextures.js @@ -73,7 +73,7 @@ function WebGLTextures( _gl, extensions, state, properties, capabilities, utils, console.warn( 'THREE.WebGLRenderer: Texture has been resized from (' + image.width + 'x' + image.height + ') to (' + width + 'x' + height + ').' ); - return useOffscreenCanvas ? canvas.transferToImageBitmap() : canvas; + return canvas; } else {