I’m using kCCDirectorProjection2D mode with depth test and vertex z to reorder sprites. This works great, but on my Nexus 7 when the app is brought back from sleep the vertex z seems to be ignored. Even after reallocating the scene the vertex z is ignored, which leads me to believe it is a problem with the gl context not re-enabling depth testing. Any suggestions?
To reproduce use the following in app delegate
pDirector~~>setDepthTest; pDirector~~>setProjection(kCCDirectorProjection2D);
then use setVertexZ to change the order of a sprite.