Procházet zdrojové kódy

Texture: Removed unneded needsUpdate/version copy.

Mr.doob před 8 roky
rodič
revize
646d523690
1 změnil soubory, kde provedl 0 přidání a 4 odebrání
  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;
 
 	},