Fixing GUI on unlit levels
This commit is contained in:
parent
ca033ef4f1
commit
e92ac9e320
1 changed files with 1 additions and 1 deletions
|
@ -434,7 +434,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