Browse Source

Texture: Removed unneded needsUpdate/version copy.

Mr.doob 8 years ago
parent
commit
646d523690
1 changed files with 0 additions and 4 deletions
  1. 0 4
      src/textures/Texture.js

+ 0 - 4
src/textures/Texture.js

@@ -102,10 +102,6 @@ Texture.prototype = {
 		this.unpackAlignment = source.unpackAlignment;
 		this.unpackAlignment = source.unpackAlignment;
 		this.encoding = source.encoding;
 		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;
 		return this;
 
 
 	},
 	},