Browse Source

WebGLRenderer: Removed unused. texture.__weblInit.

Mr.doob 10 năm trước cách đây
mục cha
commit
388c75194d
1 tập tin đã thay đổi với 0 bổ sung2 xóa
  1. 0 2
      src/renderers/WebGLRenderer.js

+ 0 - 2
src/renderers/WebGLRenderer.js

@@ -2707,8 +2707,6 @@ THREE.WebGLRenderer = function ( parameters ) {
 
 			textureProperties.__webglInit = true;
 
-			texture.__webglInit = true;
-
 			texture.addEventListener( 'dispose', onTextureDispose );
 
 			textureProperties.__webglTexture = _gl.createTexture();