mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-23 20:43:15 +00:00
- 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:
parent
7bda29387d
commit
d58d1e21d0
1 changed files with 0 additions and 6 deletions
|
@ -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))
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue