Skip to content

Commit

Permalink
Examples: Fix resizing of webgl2_multisampled_renderbuffers demo. (#2…
Browse files Browse the repository at this point in the history
  • Loading branch information
Mugen87 authored Apr 26, 2023
1 parent 3a1c970 commit be3145a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions examples/webgl2_multisampled_renderbuffers.html
Original file line number Diff line number Diff line change
Expand Up @@ -138,12 +138,14 @@
//

composer1 = new EffectComposer( renderer );
composer1.setPixelRatio( window.devicePixelRatio );
composer1.addPass( renderPass );
composer1.addPass( copyPass );

//

composer2 = new EffectComposer( renderer, renderTarget );
composer2.setPixelRatio( window.devicePixelRatio );
composer2.addPass( renderPass );
composer2.addPass( copyPass );

Expand Down

0 comments on commit be3145a

Please sign in to comment.