commit
f2dbfe6217
1 changed files with 1 additions and 1 deletions
|
@ -444,7 +444,7 @@ void renderLightsToStencil() {
|
||||||
}
|
}
|
||||||
|
|
||||||
void resetStencilStuff() {
|
void resetStencilStuff() {
|
||||||
if (currentLevel) {
|
if (currentLevel > 1) {
|
||||||
GPU_SetStencilTest(false, GPU_ALWAYS, 0x00, 0xFF, 0x00);
|
GPU_SetStencilTest(false, GPU_ALWAYS, 0x00, 0xFF, 0x00);
|
||||||
GPU_SetStencilOp(GPU_STENCIL_KEEP, GPU_STENCIL_KEEP, GPU_STENCIL_KEEP);
|
GPU_SetStencilOp(GPU_STENCIL_KEEP, GPU_STENCIL_KEEP, GPU_STENCIL_KEEP);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue