- 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

@ -312,8 +312,7 @@ void OpenGLFrameBuffer::PrecacheMaterial(FMaterial *mat, int translation)
auto tex = mat->tex;
if (tex->isSWCanvas()) return;
// 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()) ? CTF_CheckHires : 0;
int flags = mat->isExpanded() ? CTF_Expand : 0;
int numLayers = mat->GetLayers();
auto base = static_cast<FHardwareTexture*>(mat->GetLayer(0, translation));