- fixed: fillsimplepoly drawer was using an inverted scale, leading to incorrect automap texture display.

This commit is contained in:
Rachael Alexanderson 2017-06-21 04:03:37 -04:00
parent fa36677bdb
commit bdc99d9768

View file

@ -271,8 +271,8 @@ void SWCanvas::FillSimplePoly(DCanvas *canvas, FTexture *tex, FVector2 *points,
viewport->RenderTarget->Lock(true);
scalex /= tex->Scale.X;
scaley /= tex->Scale.Y;
scalex = tex->Scale.X / scalex;
scaley = tex->Scale.Y / scaley;
// Use the CRT's functions here.
cosrot = cos(rotation.Radians());