未验证 提交 1728f3d5 编写于 作者: M Mr.doob 提交者: GitHub

Merge pull request #14749 from vizorvr/fix-double-raf

Fix double animation loop
......@@ -72,9 +72,13 @@ function WebVRManager( renderer ) {
animation.start();
} else if ( scope.enabled ) {
} else {
if ( scope.enabled ) {
renderer.setDrawingBufferSize( currentSize.width, currentSize.height, currentPixelRatio );
renderer.setDrawingBufferSize( currentSize.width, currentSize.height, currentPixelRatio );
}
animation.stop();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册