mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2025-02-18 01:21:32 +00:00
- flat tile backgrounds in intermission now respects 'inter_classic_scaling' cvar
This commit is contained in:
parent
ec3cd68c1f
commit
c3dc84297e
1 changed files with 2 additions and 1 deletions
|
@ -61,6 +61,7 @@ CVAR(Bool, wi_percents, true, CVAR_ARCHIVE)
|
|||
CVAR(Bool, wi_showtotaltime, true, CVAR_ARCHIVE)
|
||||
CVAR(Bool, wi_noautostartmap, false, CVAR_USERINFO | CVAR_ARCHIVE)
|
||||
CVAR(Int, wi_autoadvance, 0, CVAR_SERVERINFO)
|
||||
EXTERN_CVAR(Bool, inter_classic_scaling)
|
||||
|
||||
// States for the intermission
|
||||
enum EState
|
||||
|
@ -606,7 +607,7 @@ void DInterBackground::drawBackground(int state, bool drawsplat, bool snl_pointe
|
|||
}
|
||||
else
|
||||
{
|
||||
twod->AddFlatFill(0, 0, twod->GetWidth(), twod->GetHeight(), background);
|
||||
twod->AddFlatFill(0, 0, twod->GetWidth(), twod->GetHeight(), background, (inter_classic_scaling ? -1 : 0));
|
||||
}
|
||||
}
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue