Hi, in my case I saw that the opengl command that causes error is:
glVertexAttribPointer(kCCVertexAttrib_Position, 3, GL_FLOAT, GL_FALSE, kQuadSize, (void*) (offset + diff));
and the sprite is the stencil of a ClippingNode object.
This error happens only the first time ClippingNode draw itself.
Maybe missing an initialization.
However I have not noticed any malfunction despite this error
I saw a bug that could refer at this error, but I don’t know where I can find the patch for cocos 2.1.5
Someone could help me.