Combined all the fixes:
CCLayerColor does not update its color / opacity while being a child of the color node which changes its own opacity.
Textures with mipmaps are black after restoring from the background.
Wrong call convention for some GL-functions causing crash when the shader failed to compile.
Some VBOs and VAOs are not zeroed after removing the ParticleSystemQuad from the batch.