mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-11 07:11:39 +00:00
Take care of fullscreen tinting not being stuck on the least-intense value.
git-svn-id: https://svn.eduke32.com/eduke32@2647 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
144897d524
commit
f576bcb01e
1 changed files with 1 additions and 1 deletions
|
@ -2709,7 +2709,7 @@ void G_DisplayRest(int32_t smoothratio)
|
||||||
if ((pp->pals.f > 0 && pp->loogcnt == 0) /*|| (lastpalsf>0 && pp->pals.f==0)*/) // JBF 20040101: pals.f > 0 now >= 0
|
if ((pp->pals.f > 0 && pp->loogcnt == 0) /*|| (lastpalsf>0 && pp->pals.f==0)*/) // JBF 20040101: pals.f > 0 now >= 0
|
||||||
{
|
{
|
||||||
Bmemcpy(&tempFade, &pp->pals, sizeof(palette_t));
|
Bmemcpy(&tempFade, &pp->pals, sizeof(palette_t));
|
||||||
g_restorePalette = 1; // JBF 20040101
|
g_restorePalette = -1; // JBF 20040101; PK: reset tinting (-1)
|
||||||
applyTint = 1;
|
applyTint = 1;
|
||||||
}
|
}
|
||||||
// lastpalsf = pp->pals.f;
|
// lastpalsf = pp->pals.f;
|
||||||
|
|
Loading…
Reference in a new issue