- 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

@ -89,8 +89,7 @@ DCanvas *PolyHardwareTexture::GetImage(const FMaterialState &state)
if (tex->isHardwareCanvas()) clampmode = CLAMP_CAMTEX;
else if ((tex->isWarped() || tex->shaderindex >= FIRST_USER_SHADER) && clampmode <= CLAMP_XY) clampmode = CLAMP_NONE;
// Textures that are already scaled in the texture lump will not get replaced by hires textures.
int flags = state.mMaterial->isExpanded() ? CTF_Expand : (gl_texture_usehires && !tex->isScaled() && clampmode <= CLAMP_XY) ? CTF_CheckHires : 0;
int flags = state.mMaterial->isExpanded() ? CTF_Expand : 0;
return GetImage(tex, translation, flags);
}