瀏覽代碼

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

Mr.doob 8 年之前
父節點
當前提交
c2919eaa28
共有 1 個文件被更改,包括 0 次插入2 次删除
  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 = {