Corrected bug
This commit is contained in:
parent
1bc32e7a80
commit
3ea3f5494b
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue