- 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:
parent
3e8f53e98c
commit
29344006a0
2 changed files with 11 additions and 3 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue