Skip to content
Permalink
Browse files

- fixed typo.

  • Loading branch information
coelckers committed Mar 15, 2020
1 parent 0c04cdd commit 16ae7e312458e68b50cc45816b63018fc8d67133
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/rendering/2d/v_draw.cpp
@@ -381,7 +381,7 @@ bool DFrameBuffer::SetTextureParms(DrawParms *parms, FTexture *img, double xx, d
double srcwidth = img->GetDisplayWidthDouble();
double srcheight = img->GetDisplayHeightDouble();
int autoaspect = parms->fsscalemode;
aspect = autoaspect == 0 || (srcwidth == 320 && srcheight == 200) || (srcwidth == 640 && srcheight == 200)? 1.333 : srcwidth / srcheight;
aspect = autoaspect == 0 || (srcwidth == 320 && srcheight == 200) || (srcwidth == 640 && srcheight == 400)? 1.333 : srcwidth / srcheight;
parms->x = parms->y = 0;
parms->keepratio = true;
auto screenratio = ActiveRatio(GetWidth(), GetHeight());

0 comments on commit 16ae7e3

Please sign in to comment.
You can’t perform that action at this time.