when i use CCClippingNode, it log Stencil buffer is not enabled. how to set thi enable? It run on windows normal. i don’t understand why my project run on the same android machine doesn’t work, but the demo of testCpp is normal???
As far as I know, the stencil buffer uses a decent amount of memory, and so it doesn’t enable it by default.
I think this will help you: (worked for me)
In your Java code, YourProjectName.java, change the line that says
glSurfaceView.setEGLConfigChooser(8, 8, 8, 8, 16, 8);