cocos2d / cocos2d-x

Cocos2d-x is a suite of open-source, cross-platform, game-development tools utilized by millions of developers across the globe. Its core has evolved to serve as the foundation for Cocos Creator 1.x & 2.x.
https://www.cocos.com/en/cocos2d-x
18.25k stars 7.06k forks source link

cocos2dx 3.5 Cocos2dxActivity.runOnGLThread can not work #13751

Open wjlin opened 9 years ago

wjlin commented 9 years ago

Cocos2dxActivity.runOnGLThread can not work After replacing native activity with java activity, this function can not work correctly. with error "E/libEGL(7868): call to OpenGL ES API with no current context (logged once per thread)"

ricardoquesada commented 8 years ago

could you post the code to reproduce it? cocos2d uses the java activity, not the native activity... which one did you replace?