From 0c9f6d2e83e03d46ec1809f9e82e254ba5e83add Mon Sep 17 00:00:00 2001 From: Randy Heit Date: Fri, 23 Mar 2012 02:00:01 +0000 Subject: [PATCH] - Fixed: DCanvas::FillSimplePoly() did not account for the texture's built-in scaling. SVN r3471 (trunk) --- src/v_draw.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/v_draw.cpp b/src/v_draw.cpp index bc17656fba..f399e4e531 100644 --- a/src/v_draw.cpp +++ b/src/v_draw.cpp @@ -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);