cocos2dx wp8 调计费sdk 之后回到游戏中opengl error

用的是混合托管模式proj.wp8-xaml 项目 ,调用第三方sdk
Deployment.Current.Dispatcher.BeginInvoke(() =>
{
GameBilling.PayWithUI(page: this, billingIndex: “001”, cpParam: “1234567890123456”, callback: this);

        });

之后进入到付费界面
但是从付费界面返回到游戏中的时候会出现黑屏,且报
OpenGL error 0x0506 in …\sprite_nodes\CCSprite.cpp cocos2d::CCSprite::draw 584
OpenGL error 0x0506 in …\sprite_nodes\CCSprite.cpp cocos2d::CCSprite::draw 584
OpenGL error 0x0506 in …\textures\CCTextureAtlas.cpp cocos2d::CCTextureAtlas::drawNumberOfQuads 686
OpenGL error 0x0506 in …\sprite_nodes\CCSprite.cpp cocos2d::CCSprite::draw 584
OpenGL error 0x0506 in …\sprite_nodes\CCSprite.cpp cocos2d::CCSprite::draw 584
OpenGL error 0x0506 in …\sprite_nodes\CCSprite.cpp cocos2d::CCSprite::draw 584
OpenGL error 0x0506 in …\sprite_nodes\CCSprite.cpp cocos2d::CCSprite::draw 584
OpenGL error 0x0506 in …\sprite_nodes\CCSprite.cpp cocos2d::CCSprite::draw 584
OpenGL error 0x0506 in …\sprite_nodes\CCSprite.cpp cocos2d::CCSprite::draw 584
OpenGL error 0x0506 in …\sprite_nodes\CCSprite.cpp cocos2d::CCSprite::draw 584
OpenGL error 0x0506 in …\sprite_nodes\CCSprite.cpp cocos2d::CCSprite::draw 584
OpenGL error 0x0506 in …\sprite_nodes\CCSprite.cpp cocos2d::CCSprite::draw 584
OpenGL error 0x0506 in …\sprite_nodes\CCSprite.cpp cocos2d::CCSprite::draw 584
OpenGL error 0x0506 in …\sprite_nodes\CCSprite.cpp cocos2d::CCSprite::draw 584
OpenGL error 0x0506 in …\sprite_nodes\CCSprite.cpp cocos2d::CCSprite::draw 584
OpenGL error 0x0506 in …\textures\CCTextureAtlas.cpp cocos2d::CCTextureAtlas::drawNumberOfQuads 686

刷屏错误,

在商城和游戏开始界面互相调用的话不会出现这种错误,就在游戏中调用计费会出现(而且是游戏进行一会,如果是刚开始调用的话还不会出错)

请问这是游戏中的哪部分弄得不对吗? 还是内存的事? 还是别的什么毛病?
像OpenGL error 0x0506 in …\textures\CCTextureAtlas.cpp cocos2d::CCTextureAtlas::drawNumberOfQuads 686错误我在网上找的时候看见有说出现在精灵添加多的时候,
不知道跟我的游戏出现这种错误有没有关系,help help

这个问题最后怎么解决的

没解决!你遇到跟我一样的问题??

问题解决了。原来是这个导致的
/*CCActionInterval pAction = CCShaky3D::create(0.5f, CCSizeMake(1,1), 2, false);
this->runAction(pAction);
/
大家分享

调用内购怎么做啊?我现在无处下手……求助~

你用的什么SDK??我的是proj.wp8 项目。

lz你好,你的SDK在哪下的?能给个地址吗?我也需要~~谢谢~

可能是线程问题造成的,cocos2dx中不能在非工作线程中处理ui相关的东西