Browse Source

WebGLTextures: Clean up.

Mr.doob 9 years ago
parent
commit
e64b63a121
1 changed files with 1 additions and 31 deletions
  1. 1 31
      src/renderers/webgl/WebGLTextures.js

+ 1 - 31
src/renderers/webgl/WebGLTextures.js

@@ -7,37 +7,7 @@ THREE.WebGLTextures = function ( _gl, extensions, state, properties, capabilitie
 	var _infoMemory = info.memory;
 	var _isWebGL2 = ( typeof WebGL2RenderingContext !== 'undefined' && _gl instanceof WebGL2RenderingContext );
 
-	/*
-	var textures = {};
-
-	this.get = function ( texture ) {
-
-		var uuid = texture.uuid;
-		var map = textures[ uuid ];
-
-		if ( map === undefined ) {
-
-			map = {};
-			textures[ uuid ] = map;
-
-		}
-
-		return map;
-
-	};
-
-	this.delete = function ( texture ) {
-
-		delete textures[ texture.uuid ];
-
-	};
-
-	this.clear = function () {
-
-		textures = {};
-
-	};
-	*/
+	//
 
 	function clampToMaxSize ( image, maxSize ) {