cocos2d/cocos2d-iphone — pull request #248 by pierredavidbelanger (2012-10-17 06:59:30+00:00)
Title: Actually attach the stencil part to the framebuffer...

... when creating a CCGLView using GL_DEPTH24_STENCIL8_OES as depthFormat.

To be able to use GL_STENCIL_TEST into CCNode draw/visit.

I am no OpenGL expert but i thing this was missing.