Corrected bug
This commit is contained in:
parent
1bc32e7a80
commit
3ea3f5494b
|
@ -49,10 +49,14 @@ function main() {
|
||||||
initListeners();
|
initListeners();
|
||||||
|
|
||||||
appendTo(container)(stats, Coin, startCanvas, pointer, previewer, renderer);
|
appendTo(container)(stats, Coin, startCanvas, pointer, previewer, renderer);
|
||||||
|
// appendTo(container)(startCanvas, pointer, previewer, renderer);
|
||||||
|
|
||||||
// Set the good size of cameras
|
// Set the good size of cameras
|
||||||
onWindowResize();
|
onWindowResize();
|
||||||
|
|
||||||
|
if (locked)
|
||||||
|
startCanvas.render();
|
||||||
|
|
||||||
// Some config
|
// Some config
|
||||||
if (initMainScene !== L3D.initPeach && initMainScene !== L3D.initSponza)
|
if (initMainScene !== L3D.initPeach && initMainScene !== L3D.initSponza)
|
||||||
setInterval(function() {logfps(stats.getFps());}, 500);
|
setInterval(function() {logfps(stats.getFps());}, 500);
|
||||||
|
|
Loading…
Reference in New Issue