mirror of
https://github.com/cocos/cocos4.git
synced 2026-12-01 15:52:40 +08:00
Merge branch 'v1.7-release' into v1.7
This commit is contained in:
@@ -709,7 +709,7 @@ var game = {
|
||||
var opts = {
|
||||
'stencil': true,
|
||||
'alpha': cc.macro.ENABLE_TRANSPARENT_CANVAS
|
||||
});
|
||||
};
|
||||
if (isWeChatGame) {
|
||||
opts['preserveDrawingBuffer'] = true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user