提交 db30ac4c 编写于 作者: M Mr.doob

Merge pull request #7012 from tschw/PlayerPortability

Player portability
......@@ -167,7 +167,7 @@ var APP = {
} catch (e) {
console.error(e.stack || e);
console.error( ( e.message || e ), ( e.stack || "" ) );
}
......@@ -212,7 +212,7 @@ var APP = {
dispatch( events.start, arguments );
request = requestAnimationFrame( animate );
prevTime = performance.now();
prevTime = ( window.performance || Date ).now();
};
this.stop = function () {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册