mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-28 23:11:58 +00:00
- fixed: fillsimplepoly drawer was using an inverted scale, leading to incorrect automap texture display.
This commit is contained in:
parent
fa36677bdb
commit
bdc99d9768
1 changed files with 2 additions and 2 deletions
|
@ -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());
|
||||
|
|
Loading…
Reference in a new issue