浏览代码

PMREMGenerator: Clean up.

Mr.doob 3 年之前
父节点
当前提交
89b30b3934
共有 1 个文件被更改,包括 0 次插入1 次删除
  1. 0 1
      src/extras/PMREMGenerator.js

+ 0 - 1
src/extras/PMREMGenerator.js

@@ -258,7 +258,6 @@ class PMREMGenerator {
 		};
 
 		const cubeUVRenderTarget = _createRenderTarget( width, height, params );
-		cubeUVRenderTarget.texture.image = { width, height };
 
 		if ( this._pingPongRenderTarget === null || this._pingPongRenderTarget.width !== width ) {