Add GEqual Z-test option for pipeline backends

This commit is contained in:
Jack Andersen
2017-09-02 19:52:53 -10:00
parent 04ff1692d8
commit 18cbfd2865
5 changed files with 13 additions and 0 deletions

View File

@@ -503,6 +503,9 @@ public:
case ZTest::Greater:
glDepthFunc(GL_GREATER);
break;
case ZTest::GEqual:
glDepthFunc(GL_GEQUAL);
break;
case ZTest::Equal:
glDepthFunc(GL_EQUAL);
break;