mirror of
https://github.com/thunderbrewhq/thunderbrew
synced 2025-04-16 10:04:42 +03:00
feat(gx): handle clear stencil changes in GLL
This commit is contained in:
parent
8a3e37ce73
commit
82be126eee
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user