We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
经过和 微信团队沟通, 最新解决方案是:
cc.game.on(cc.game.EVENT_HIDE, function () { const gl = cc.game._renderContext; if (gl && gl.finish) { gl.finish(); } if (gl && gl.submit) { gl.submit(); } }); cc.game.on(cc.game.EVENT_SHOW, function () { const gl = cc.game._renderContext; if (gl && gl.finish) { gl.finish(); } if (gl && gl.submit) { gl.submit(); } });
这个 submit 是微信专有的. 加上这个就好了. (finish那个也要有) 建议整合到 adapter里.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
经过和 微信团队沟通, 最新解决方案是:
这个 submit 是微信专有的. 加上这个就好了. (finish那个也要有)
建议整合到 adapter里.
The text was updated successfully, but these errors were encountered: