mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-28 23:11:58 +00:00
- fixed typo in screen blend rendering.
This commit is contained in:
parent
b4351e538f
commit
6adff55b5d
1 changed files with 1 additions and 1 deletions
|
@ -1405,7 +1405,7 @@ void DFrameBuffer::DrawBlend(sector_t * viewsector)
|
||||||
V_AddBlend(blendv.r / 255.f, blendv.g / 255.f, blendv.b / 255.f, cnt / 255.0f, blend);
|
V_AddBlend(blendv.r / 255.f, blendv.g / 255.f, blendv.b / 255.f, cnt / 255.0f, blend);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else if (player && player->fixedlightlevel != -1 && player->fixedcolormap != NOFIXEDCOLORMAP)
|
else if (player && player->fixedlightlevel != -1 && player->fixedcolormap == NOFIXEDCOLORMAP)
|
||||||
{
|
{
|
||||||
// Draw fixedlightlevel effects as a 2D overlay. The hardware renderer just processes such a scene fullbright without any lighting.
|
// Draw fixedlightlevel effects as a 2D overlay. The hardware renderer just processes such a scene fullbright without any lighting.
|
||||||
auto torchtype = PClass::FindActor(NAME_PowerTorch);
|
auto torchtype = PClass::FindActor(NAME_PowerTorch);
|
||||||
|
|
Loading…
Reference in a new issue