OpenGL error in 2.2.2

OpenGL error in 2.2.2
0.0 0



Whenever my game is returning from background, the screen goes black with the following message OpenGL error 0x0502.

I’m using cocos2d-2.2.2 , wp8 and xaml

any idea on how to fix?



Did you do something after returning from background? Can you find the pre called function from the stack, write it and let me know more info about what are you do after you returned from background, and make sure donot do something in the wrong thread. Thanks.


sorry,my mistake, set CC_ENABLE_CACHE_TEXTURE_DATA = 0