I am getting OpenGL Error 0x0500 when I start up my application (iPhone 5.0, cocos2d-x 1.0.1-x-0.9.2)
If I run the code through the xcode OpenGL profiler, it traces the problem to CCParticleSystemQuad::initWithTotalParticles, which uses:
This should be:
I also ran the cocos2d-x particle system tests through the profiler, and it found the same issue. I can obtain the same OpenGL error in the particle system tests if I turn on the debug flags.