소스 검색

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;
 
 	},