浏览代码

Texture: Removed unneded needsUpdate/version copy.

Mr.doob 8 年之前
父节点
当前提交
646d523690
共有 1 个文件被更改,包括 0 次插入4 次删除
  1. 0 4
      src/textures/Texture.js

+ 0 - 4
src/textures/Texture.js

@@ -102,10 +102,6 @@ Texture.prototype = {
 		this.unpackAlignment = source.unpackAlignment;
 		this.encoding = source.encoding;
 
-		// TODO (abelnation): this was added as something causes texture constants to be "copied" before they are properly uploaded to GPU
-		this.needsUpdate = source.needsUpdate;
-		this.version = source.version;
-
 		return this;
 
 	},