Add glDepthMask caching

This commit is contained in:
Henrik Rydgard 2012-11-26 17:34:13 +01:00
parent 5ca7692912
commit 8b6adf4cd6

View File

@ -118,6 +118,9 @@ public:
BoolState<GL_DEPTH_TEST, false> depthTest;
STATE1(glDepthFunc, GLenum, GL_LESS) depthFunc;
STATE1(glDepthMask, GLboolean, GL_TRUE) depthWrite;
#if defined(USING_GLES2)
STATE2(glDepthRangef, float, float, 0.f, 1.f) depthRange;
#else