浏览代码

WebGLMultisampleRenderTarget: Clean up

Mugen87 6 年之前
父节点
当前提交
4abf45a506
共有 1 个文件被更改,包括 1 次插入3 次删除
  1. 1 3
      src/renderers/WebGLMultisampleRenderTarget.js

+ 1 - 3
src/renderers/WebGLMultisampleRenderTarget.js

@@ -9,9 +9,7 @@ function WebGLMultisampleRenderTarget( width, height, options ) {
 
 	WebGLRenderTarget.call( this, width, height, options );
 
-	options = options || {};
-
-	this.samples = options.samples !== undefined ? options.samples : 4;
+	this.samples = 4;
 
 }