From c80e7942c06b7f7f470673707a5faf0ebd15eac2 Mon Sep 17 00:00:00 2001 From: ChiaNing Date: Thu, 13 Feb 2020 17:49:01 +0800 Subject: [PATCH] fix AliPay gamePause Bug (#6167) --- cocos/core/game.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cocos/core/game.ts b/cocos/core/game.ts index 96265d1598..ac9f73efe9 100644 --- a/cocos/core/game.ts +++ b/cocos/core/game.ts @@ -375,7 +375,7 @@ export class Game extends EventTarget { } // Because JSB platforms never actually stops the swap chain, // we draw some more frames here to (try to) make sure swap chain consistency - if (CC_JSB || CC_RUNTIME_BASED) { + if (CC_JSB || CC_RUNTIME_BASED || CC_ALIPAY) { let swapbuffers = 3; const cb = () => { if (--swapbuffers > 1) {