Browse Source

WebGLRenderTarget: Removed name from options object. See #10304.

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

+ 0 - 2
src/renderers/WebGLRenderTarget.js

@@ -37,8 +37,6 @@ function WebGLRenderTarget( width, height, options ) {
 	this.stencilBuffer = options.stencilBuffer !== undefined ? options.stencilBuffer : true;
 	this.depthTexture = options.depthTexture !== undefined ? options.depthTexture : null;
 
-	this.texture.name = options.name !== undefined ? options.name : "";
-
 }
 
 WebGLRenderTarget.prototype = {