- texture code refactoring to consolidate multiple textures referencing the same backing image.

This commit is contained in:
Christoph Oelckers 2020-04-13 17:05:49 +02:00
commit aeba304715
28 changed files with 160 additions and 128 deletions

View file

@ -733,6 +733,12 @@ bool FTexture::DetermineTranslucency()
return !!bTranslucent;
}
void FTexture::CleanHardwareTextures(bool cleannormal, bool cleanexpanded)
{
SystemTextures.Clean(cleannormal, cleanexpanded);
}
//===========================================================================
//
// the default just returns an empty texture.