feat(gx): handle clear stencil changes in GLL

This commit is contained in:
fallenoak 2023-02-19 09:50:34 -06:00
parent 8a3e37ce73
commit 82be126eee
No known key found for this signature in database
GPG Key ID: 7628F8E61AEA070D

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) {