- added Entryway's AM_Rotate optimization.

SVN r2739 (trunk)
This commit is contained in:
Christoph Oelckers 2010-09-10 13:49:08 +00:00
commit ec0b07b5e2
2 changed files with 14 additions and 6 deletions

View file

@ -3311,8 +3311,8 @@ void D3DFB::FillSimplePoly(FTexture *texture, FVector2 *points, int npoints,
quad->NumTris = npoints - 2;
yoffs = GatheringWipeScreen ? 0 : LBOffset;
uscale = float(1.f / (texture->GetWidth() * scalex));
vscale = float(1.f / (texture->GetHeight() * scaley));
uscale = float(1.f / (texture->GetScaledWidth() * scalex));
vscale = float(1.f / (texture->GetScaledHeight() * scaley));
ox = float(originx);
oy = float(originy);