cocos2d-x 移植wp8 opengl error

OpenGL error 0x0506 in ..sprite_nodesCCSprite.cpp cocos2d::CCSprite::draw 584

OpenGL error 0x0506 in ..sprite_nodesCCSprite.cpp cocos2d::CCSprite::draw 584

OpenGL error 0x0506 in ..sprite_nodesCCSprite.cpp cocos2d::CCSprite::draw 584

OpenGL error 0x0506 in ..texturesCCTextureAtlas.cpp cocos2d::CCTextureAtlas::drawNumberOfQuads 686

OpenGL error 0x0506 in ..texturesCCTextureAtlas.cpp cocos2d::CCTextureAtlas::drawNumberOfQuads 686

OpenGL error 0x0506 in ..texturesCCTextureAtlas.cpp cocos2d::CCTextureAtlas::drawNumberOfQuads 686

OpenGL error 0x0506 in ..sprite_nodesCCSprite.cpp cocos2d::CCSprite::draw 584

OpenGL error 0x0506 in ..sprite_nodesCCSprite.cpp cocos2d::CCSprite::draw 584

OpenGL error 0x0506 in ..sprite_nodesCCSprite.cpp cocos2d::CCSprite::draw 584

OpenGL error 0x0506 in ..sprite_nodesCCSprite.cpp cocos2d::CCSprite::draw 584

OpenGL error 0x0506 in ..sprite_nodesCCSprite.cpp cocos2d::CCSprite::draw 584

OpenGL error 0x0506 in ..sprite_nodesCCSprite.cpp cocos2d::CCSprite::draw 584

OpenGL error 0x0506 in ..sprite_nodesCCSprite.cpp cocos2d::CCSprite::draw 584

OpenGL error 0x0506 in ..sprite_nodesCCSprite.cpp cocos2d::CCSprite::draw 584

问题是因为我在c++游戏中调用c#的界面时(xaml page) 在跳转回到游戏的时候出现,但是游戏刚开始时跳转没有问题,游戏运行一会就会出现这种问题,求大神指导啊?