- make sure that warping textures never create a warped true color image.

This replaces the old redirection hackery that had to work differently for the legacy render path.
Overriding CopyTrueColorTranslated is far more robust and ensures that no edge cases can reach the GetPixels function, which wasn't the case before.
This commit is contained in:
Christoph Oelckers 2018-04-24 21:58:26 +02:00
commit 5e8a4b96fe
6 changed files with 23 additions and 27 deletions

View file

@ -888,7 +888,7 @@ bool FTexture::UseBasePalette()
return true;
}
FTexture *FTexture::GetRedirect(bool wantwarped)
FTexture *FTexture::GetRedirect()
{
return this;
}