Browse Source

WebGLMultisampleRenderTarget: Clean up

Mugen87 6 years ago
parent
commit
4abf45a506
1 changed files with 1 additions and 3 deletions
  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;
 
 }