OpenGL error on runAction using AnimationCache

Hi everyone. I get this:
OpenGL error 0x0500 in /path/to/CCRenderer.cpp restoreRenderState 188 when I run Animate action with animation from AnimationCache. The animation is successfully running but the error keep showing up on my console. Any idea to fix this?

Iā€™m using cocos2d-x 3.15 c++ in Mac.

found answer here OpenGL error 0x0500 in -[EAGLView swapBuffers] by antol post. :slight_smile: Simply calling Sprite::init() in my init function solves the problem.