- Fixed: DCanvas::FillSimplePoly() did not account for the texture's built-in scaling.

SVN r3471 (trunk)
This commit is contained in:
Randy Heit 2012-03-23 02:00:01 +00:00
parent 5f23a972f3
commit 0c9f6d2e83

View file

@ -1181,6 +1181,9 @@ void DCanvas::FillSimplePoly(FTexture *tex, FVector2 *points, int npoints,
return;
}
scalex /= FIXED2FLOAT(tex->xScale);
scaley /= FIXED2FLOAT(tex->yScale);
cosrot = cos(rot);
sinrot = sin(rot);