Forráskód Böngészése

Fixed webvr rollercoaster resize.

Mr.doob 8 éve
szülő
commit
44c88177c0
1 módosított fájl, 1 hozzáadás és 1 törlés
  1. 1 1
      examples/webvr_rollercoaster.html

+ 1 - 1
examples/webvr_rollercoaster.html

@@ -190,7 +190,7 @@
 				camera.aspect = window.innerWidth / window.innerHeight;
 				camera.updateProjectionMatrix();
 
-				renderer.setSize( window.innerWidth, window.innerHeight );
+				effect.setSize( window.innerWidth, window.innerHeight );
 
 			}, false );