- advanced coordinate control for overlays over DTA_Fullscreen images.

This commit is contained in:
Christoph Oelckers 2020-06-06 12:51:03 +02:00
commit 9f6d244016
8 changed files with 105 additions and 46 deletions

View file

@ -462,7 +462,7 @@ float FTexCoordInfo::TextureAdjustWidth() const
{
float tscale = fabsf(mTempScale.X);
if (tscale == 1.f) return (float)mRenderWidth;
else return mWidth / fabs(tscale);
else return mWidth / fabsf(tscale);
}
else return (float)mWidth;
}