Procházet zdrojové kódy

WebGLMultisampleRenderTarget: Clean up

Mugen87 před 6 roky
rodič
revize
4abf45a506
1 změnil soubory, kde provedl 1 přidání a 3 odebrání
  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;
 
 }