feat(gx): handle clear stencil changes in GLL

This commit is contained in:
fallenoak committed 2023-02-19 09:50:34 -06:00
1 parent 8a3e37ce73
commit 82be126eee
1 file changed
+5 -2
+5 -2
View File
@@ -2121,8 +2121,11 @@ void GLDevice::SetClearDepth(double depth) {
}
}
void GLDevice::SetClearStencil(int32_t a2) {
// TODO
void GLDevice::SetClearStencil(int32_t s) {
if (this->m_States.clear.clearStencil != s) {
glClearStencil(s);
this->m_States.clear.clearStencil = s;
}
}
void GLDevice::SetColorWriteMask(bool red, bool green, bool blue, bool alpha, uint32_t index) {