- do not clamp warped textures.

This commit is contained in:
Christoph Oelckers 2022-04-17 23:40:48 +02:00
parent 201652bb36
commit 760bffbf06

View file

@ -208,7 +208,7 @@ void HWWall::RenderTexturedWall(HWDrawInfo *di, FRenderState &state, int rflags)
} }
#endif #endif
if (flags & HWWall::HWF_CLAMPY && (type == RENDERWALL_M2S || type == RENDERWALL_M2SNF)) if (flags & HWWall::HWF_CLAMPY && (type == RENDERWALL_M2S || type == RENDERWALL_M2SNF) && !texture->isWarped())
{ {
state.SetTextureClamp(true); state.SetTextureClamp(true);
} }