Fixing GUI on unlit levels

This commit is contained in:
RSDuck 2015-10-26 22:17:37 +01:00
parent ca033ef4f1
commit e92ac9e320

View file

@ -434,7 +434,7 @@ void renderLightsToStencil() {
}
void resetStencilStuff() {
if (currentLevel) {
if (currentLevel > 1) {
GPU_SetStencilTest(false, GPU_ALWAYS, 0x00, 0xFF, 0x00);
GPU_SetStencilOp(GPU_STENCIL_KEEP, GPU_STENCIL_KEEP, GPU_STENCIL_KEEP);
}