- Fixed: Do not use scaled texture width when calculating xiscale.

SVN r1968 (trunk)
This commit is contained in:
Randy Heit 2009-11-10 03:40:54 +00:00
parent a0d6a47daf
commit f1a672254d
1 changed files with 1 additions and 1 deletions

View File

@ -199,7 +199,7 @@ void STACK_ARGS DCanvas::DrawTextureV(FTexture *img, double x, double y, uint32
dc_iscale = DivScale32(1, spryscale);
dc_texturemid = FixedMul(-sprtopscreen, dc_iscale) + FixedMul(centeryfrac-FRACUNIT, dc_iscale);
fixed_t frac = 0;
double xiscale = parms.texwidth / parms.destwidth;
double xiscale = img->GetWidth() / parms.destwidth;
double x2 = x0 + parms.destwidth;
if (bottomclipper[0] != parms.dclip)