Skip to content

Commit

Permalink
Fix reference to params.viewOffsetX (#26433)
Browse files Browse the repository at this point in the history
  • Loading branch information
Methuselah96 authored Jul 15, 2023
1 parent b21c398 commit f72dc50
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/webgl_postprocessing_ssaa.html
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@
const aspect = width / height;

cameraP.aspect = aspect;
cameraP.setViewOffset( width, height, params.viewOffset, 0, width, height );
cameraP.setViewOffset( width, height, params.viewOffsetX, 0, width, height );
cameraO.updateProjectionMatrix();

cameraO.left = - height * aspect;
Expand Down

0 comments on commit f72dc50

Please sign in to comment.