mirror of
https://github.com/wheremyfoodat/Panda3DS.git
synced 2025-04-11 08:39:48 +12:00
Update renderer_gl.cpp
This commit is contained in:
parent
73321856c8
commit
c7cad054e2
1 changed files with 1 additions and 0 deletions
|
@ -242,6 +242,7 @@ void RendererGL::setupStencilTest(bool stencilEnable) {
|
|||
const bool stencilWrite = regs[PICA::InternalRegs::DepthBufferWrite];
|
||||
const u32 stencilBufferMask = stencilWrite ? getBits<8, 8>(stencilConfig) : 0;
|
||||
|
||||
// TODO: Throw stencilFunc/stencilOp to the GL state manager
|
||||
glStencilFunc(stencilFuncs[stencilFunc], reference, stencilRefMask);
|
||||
gl.setStencilMask(stencilBufferMask);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue