Skip to content

Commit

Permalink
Update VREffect.js
Browse files Browse the repository at this point in the history
  • Loading branch information
CrazyH2 committed Mar 21, 2024
1 parent 8c3c094 commit 651179c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utils/VREffect.js
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ THREE.VREffect = function ( renderer, onError ) {

// When rendering we don't care what the recommended size is, only what the actual size
// of the backbuffer is.
var size = renderer.getSize();
var size = new THREE.Vector2( 0, 0 ); renderer.getSize(size);
var layers = vrDisplay.getLayers();
var leftBounds;
var rightBounds;
Expand Down

0 comments on commit 651179c

Please sign in to comment.