Commit db507c6b authored by wildfirecode's avatar wildfirecode

1

parent 0ade885a
......@@ -29,21 +29,4 @@ class Main extends MainBase {
}
}
window['Main'] = Main;
setTimeout(() => {
egret.runEgret({
renderMode: "webgl", audioType: 0, calculateCanvasScaleFactor: function (context: any) {
var backingStore = context.backingStorePixelRatio ||
context.webkitBackingStorePixelRatio ||
context.mozBackingStorePixelRatio ||
context.msBackingStorePixelRatio ||
context.oBackingStorePixelRatio ||
context.backingStorePixelRatio || 1;
return (window.devicePixelRatio || 1) / backingStore;
}
});
}, 500);
\ No newline at end of file
window['Main'] = Main;
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment