- removed the texture invalidation check from FHardwareTexture.

This is not needed anymore because only warp and camera textures still implement CheckModified and both are excluded here.
This commit is contained in:
Christoph Oelckers 2018-07-15 00:28:16 +02:00
parent 7bda29387d
commit d58d1e21d0

View file

@ -531,12 +531,6 @@ bool FHardwareTexture::BindOrCreate(FTexture *tex, int texunit, int clampmode, i
bool needmipmap = (clampmode <= CLAMP_XY);
// Texture has become invalid
if (!tex->bHasCanvas && !tex->bWarped && tex->CheckModified(DefaultRenderStyle()))
{
Clean(true);
}
// Bind it to the system.
if (!Bind(texunit, translation, needmipmap))
{