소스 검색

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;
 
 }