cocos2d-x
cocos2d-x copied to clipboard
Fix FBO depth mask state: track depth mask state in FBO as it's state…
… is changed by renderer.
FBO may clear depth buffer with wrong state of depth mask results in rendering issue.