Browse Source

Fix variable typo. (I think.) (#8706)

Scott Garner 9 năm trước cách đây
mục cha
commit
a9c64beaf3
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      examples/js/effects/VREffect.js

+ 1 - 1
examples/js/effects/VREffect.js

@@ -68,7 +68,7 @@ THREE.VREffect = function ( renderer, onError ) {
 
 	this.setSize = function ( width, height ) {
 
-		renderSize = { width: width, height: height };
+		rendererSize = { width: width, height: height };
 
 		if ( isPresenting ) {