Hi, I am using the GPUImage[1] library in my game. I created a sample HelloWorld app and I am doing some image processing(using GPUImage) on a button press. The app starts normally, but as soon as the image processing is done the screen turns black and I get the following errors
OpenGL error 0x0502 in d:\dev\cocos2d-2.0-x-2.0.4\cocos2dx\sprite_nodes\ccsprite.cpp cocos2d::CCSprite::draw 616
That’s a GL_INVALID_OPERATION
. The OpenGL code before the line 616 is
glDrawArrays(GL_TRIANGLE_STRIP, 0, 4);
Any ideas why I am getting this error?
[1][https://github.com/Dexterp37/GPUImage]