提交 b6d472b8 编写于 作者: M Merwan Achibet

Texture resizing: just return the canvas object

上级 80d20737
......@@ -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 {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册