Corrected bug

This commit is contained in:
Thomas FORGIONE 2015-09-02 13:34:53 +02:00
parent 1bc32e7a80
commit 3ea3f5494b
1 changed files with 4 additions and 0 deletions

View File

@ -49,10 +49,14 @@ function main() {
initListeners();
appendTo(container)(stats, Coin, startCanvas, pointer, previewer, renderer);
// appendTo(container)(startCanvas, pointer, previewer, renderer);
// Set the good size of cameras
onWindowResize();
if (locked)
startCanvas.render();
// Some config
if (initMainScene !== L3D.initPeach && initMainScene !== L3D.initSponza)
setInterval(function() {logfps(stats.getFps());}, 500);