Skip to content

Commit 43dcad2

Browse files
committed
EffectComposer.js: Bugfix in .reset
1 parent af67619 commit 43dcad2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/js/postprocessing/EffectComposer.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ THREE.EffectComposer.prototype = {
112112
var size = this.renderer.getSize();
113113

114114
renderTarget = this.renderTarget1.clone();
115-
renderTarget.setSize( width, height );
115+
renderTarget.setSize( size.width, size.height );
116116

117117
}
118118

0 commit comments

Comments
 (0)