Skip to content

Commit

Permalink
ios15黑屏花屏临时解决-lzy
Browse files Browse the repository at this point in the history
  • Loading branch information
l1628146905 committed Jul 1, 2021
1 parent 57df3cd commit c762f5e
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions h5/libs/laya.core.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,18 @@ window.Laya= (function (exports) {
class Config {
}
Config.animationInterval = 50;
Config.isAntialias = false;
Config.isAntialias=true;
//ios15测试版黑屏bug(临时)
//Config.isAntialias = false;
Config.isAlpha = false;
Config.premultipliedAlpha = true;
Config.isStencil = true;
Config.preserveDrawingBuffer = false;
Config.webGL2D_MeshAllocMaxMem = true;
Config.is2DPixelArtGame = false;
Config.useWebGL2 = true;
//ios15测试版花屏bug(临时)
//Config.useWebGL2 = true;
Config.useWebGL2 = false;
Config.printWebglOrder = false;
Config.allowGPUInstanceDynamicBatch = true;
Config.useRetinalCanvas = false;
Expand Down

0 comments on commit c762f5e

Please sign in to comment.