- removed the obsolete Doomsday 1.8-style texture pack support.

This poorly integrated into the texture system and wasn't compatible with modern texture packs anymore so its usefulness was questionable.
This commit is contained in:
Christoph Oelckers 2020-04-04 12:55:24 +02:00
commit 5490ffcd77
11 changed files with 8 additions and 436 deletions

View file

@ -319,8 +319,7 @@ void FGLRenderState::ApplyMaterial(FMaterial *mat, int clampmode, int translatio
int usebright = false;
int maxbound = 0;
// Textures that are already scaled in the texture lump will not get replaced by hires textures.
int flags = mat->isExpanded() ? CTF_Expand : (gl_texture_usehires && !tex->isScaled() && clampmode <= CLAMP_XY) ? CTF_CheckHires : 0;
int flags = mat->isExpanded() ? CTF_Expand : 0;
int numLayers = mat->GetLayers();
auto base = static_cast<FHardwareTexture*>(mat->GetLayer(0, translation));