resize the canvas just before starting SAE

this duplication won't survive the refactoring that I have in mind
This commit is contained in:
Daniel Brooks
2016-08-01 16:13:27 -07:00
parent 4282d996ec
commit 459da3f49d
+1
View File
@@ -920,6 +920,7 @@ var Module = null;
.then(function () {
if ("runner" in game_data) {
var runner = new game_data.runner(canvas, game_data);
resizeCanvas(canvas, 1, game_data.nativeResolution, game_data.aspectRatio);
runner.start();
splash.finished_loading = true;
splash.hide();