mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-05 14:31:24 +12:00
Fix GL stencil tracking
This commit is contained in:
parent
3b36df48e9
commit
81f91e2095
1 changed files with 1 additions and 1 deletions
|
@ -196,7 +196,7 @@ namespace gl
|
||||||
void stencil_back_op(GLenum fail, GLenum zfail, GLenum zpass)
|
void stencil_back_op(GLenum fail, GLenum zfail, GLenum zpass)
|
||||||
{
|
{
|
||||||
const u64 value = static_cast<u64>(fail) << 32 | static_cast<u64>(zfail) << 16 | static_cast<u64>(zpass);
|
const u64 value = static_cast<u64>(fail) << 32 | static_cast<u64>(zfail) << 16 | static_cast<u64>(zpass);
|
||||||
if (!test_and_set_property(STENCIL_FRONT_OP, value))
|
if (!test_and_set_property(STENCIL_BACK_OP, value))
|
||||||
{
|
{
|
||||||
glStencilOpSeparate(GL_BACK, fail, zfail, zpass);
|
glStencilOpSeparate(GL_BACK, fail, zfail, zpass);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue