- fixed: texture upscaling was disabled by default.

It should only be disabled if the scale of a texture is greater than 2.
This commit is contained in:
Christoph Oelckers 2020-05-25 20:41:47 +02:00
commit 29344006a0
2 changed files with 11 additions and 3 deletions

View file

@ -430,7 +430,7 @@ CUSTOM_CVAR(Int, r_spriteadjust, 2, CVAR_ARCHIVE | CVAR_GLOBALCONFIG)
float FTexCoordInfo::RowOffset(float rowoffset) const
{
float scale = fabs(mScale.Y);
float scale = fabsf(mScale.Y);
if (scale == 1.f || mWorldPanning) return rowoffset;
else return rowoffset / scale;
}