mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-11 15:22:16 +00:00
- Fixed: DCanvas::FillSimplePoly() did not account for the texture's built-in scaling.
SVN r3471 (trunk)
This commit is contained in:
parent
5f23a972f3
commit
0c9f6d2e83
1 changed files with 3 additions and 0 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue