cocos2d-x编程之OpenGL error 0x0500
更新:HHH   时间:2023-1-7


最近在调试程序时,在真机上出现了错误“OpenGL error 0x0500”。使用多个搜索引擎进行搜索,都没有找到确切的答案。

估计如下两篇文章比较有参考价值:
1,http://cocos2d.diandian.com/post/2012-06-07/40028361076
2,http://www.cocos2d-iphone.org/forum/topic/10264

其中,错误很可能是(还有待确定):


The OpenGL error you get means invalid enum, see this topic for more information about that error. In your case it's probably because one of the parameters of your particlesystem is invalid and is causing a error in the OpenGL rendering.


另外,内存泄漏也可能是导致上述错误的原因。因为我知道在我的程序的前面几个小模块中的确存在一些小的内存泄漏。我想等到再往后拖一些再修改,现在看来需要先修改过来了。

具体错误原因,等确定后在汇报。


返回游戏开发教程...