提交 292c93e2 编写于 作者: R Ricardo Cabello

Merge pull request #6355 from benaadams/resizeable-rendertarget

rendertarget resizable
......@@ -39,9 +39,14 @@ THREE.WebGLRenderTarget.prototype = {
setSize: function ( width, height ) {
this.width = width;
this.height = height;
if ( this.width !== width || this.height !== height ) {
this.width = width;
this.height = height;
this.dispose();
}
},
clone: function () {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册