- r_vanillatrans: Cache the cache! Transform the function into a global variable and recheck at the start of D_Display
This commit is contained in:
parent
5eaf085d58
commit
c18134dbd3
6 changed files with 8 additions and 4 deletions
|
|
@ -993,7 +993,7 @@ void GLSprite::Process(AActor* thing, sector_t * sector, int thruportal)
|
|||
{
|
||||
trans = 1.f;
|
||||
}
|
||||
if (UseVanillaTransparency())
|
||||
if (r_UseVanillaTransparency)
|
||||
{
|
||||
// [SP] "canonical transparency" - with the flip of a CVar, disable transparency for Doom objects,
|
||||
// and disable 'additive' translucency for certain objects from other games.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue