|
@@ -90,9 +90,7 @@ Object.assign( EffectComposer.prototype, {
|
|
|
addPass: function ( pass ) {
|
|
|
|
|
|
this.passes.push( pass );
|
|
|
-
|
|
|
- var size = this.renderer.getDrawingBufferSize( new Vector2() );
|
|
|
- pass.setSize( size.width, size.height );
|
|
|
+ pass.setSize( this._width * this._pixelRatio, this._height * this._pixelRatio );
|
|
|
|
|
|
},
|
|
|
|