Commit db507c6b authored by wildfirecode's avatar wildfirecode

1

parent 0ade885a
...@@ -30,20 +30,3 @@ class Main extends MainBase { ...@@ -30,20 +30,3 @@ class Main extends MainBase {
} }
window['Main'] = Main; 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
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