Explorar o código

WebGLMultisampleRenderTarget: Clean up

Mugen87 %!s(int64=6) %!d(string=hai) anos
pai
achega
4abf45a506
Modificáronse 1 ficheiros con 1 adicións e 3 borrados
  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;
 
 }