mirror of https://github.com/RPCS3/rpcs3.git
gl: remove incorrect/unneeded glenable enum
This commit is contained in:
parent
6930cbc064
commit
8edf35a9e3
|
@ -671,16 +671,15 @@ void GLGSRender::begin()
|
||||||
rsx::method_registers[NV4097_SET_STENCIL_FUNC_MASK]);
|
rsx::method_registers[NV4097_SET_STENCIL_FUNC_MASK]);
|
||||||
__glcheck glStencilOp(rsx::method_registers[NV4097_SET_STENCIL_OP_FAIL], rsx::method_registers[NV4097_SET_STENCIL_OP_ZFAIL],
|
__glcheck glStencilOp(rsx::method_registers[NV4097_SET_STENCIL_OP_FAIL], rsx::method_registers[NV4097_SET_STENCIL_OP_ZFAIL],
|
||||||
rsx::method_registers[NV4097_SET_STENCIL_OP_ZPASS]);
|
rsx::method_registers[NV4097_SET_STENCIL_OP_ZPASS]);
|
||||||
}
|
|
||||||
|
|
||||||
if (__glcheck enable(rsx::method_registers[NV4097_SET_TWO_SIDED_STENCIL_TEST_ENABLE], GL_STENCIL_TEST_TWO_SIDE_EXT))
|
if (rsx::method_registers[NV4097_SET_TWO_SIDED_STENCIL_TEST_ENABLE]) {
|
||||||
{
|
|
||||||
__glcheck glStencilMaskSeparate(GL_BACK, rsx::method_registers[NV4097_SET_BACK_STENCIL_MASK]);
|
__glcheck glStencilMaskSeparate(GL_BACK, rsx::method_registers[NV4097_SET_BACK_STENCIL_MASK]);
|
||||||
__glcheck glStencilFuncSeparate(GL_BACK, rsx::method_registers[NV4097_SET_BACK_STENCIL_FUNC],
|
__glcheck glStencilFuncSeparate(GL_BACK, rsx::method_registers[NV4097_SET_BACK_STENCIL_FUNC],
|
||||||
rsx::method_registers[NV4097_SET_BACK_STENCIL_FUNC_REF], rsx::method_registers[NV4097_SET_BACK_STENCIL_FUNC_MASK]);
|
rsx::method_registers[NV4097_SET_BACK_STENCIL_FUNC_REF], rsx::method_registers[NV4097_SET_BACK_STENCIL_FUNC_MASK]);
|
||||||
__glcheck glStencilOpSeparate(GL_BACK, rsx::method_registers[NV4097_SET_BACK_STENCIL_OP_FAIL],
|
__glcheck glStencilOpSeparate(GL_BACK, rsx::method_registers[NV4097_SET_BACK_STENCIL_OP_FAIL],
|
||||||
rsx::method_registers[NV4097_SET_BACK_STENCIL_OP_ZFAIL], rsx::method_registers[NV4097_SET_BACK_STENCIL_OP_ZPASS]);
|
rsx::method_registers[NV4097_SET_BACK_STENCIL_OP_ZFAIL], rsx::method_registers[NV4097_SET_BACK_STENCIL_OP_ZPASS]);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
__glcheck glShadeModel(rsx::method_registers[NV4097_SET_SHADE_MODE]);
|
__glcheck glShadeModel(rsx::method_registers[NV4097_SET_SHADE_MODE]);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue