mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-14 08:30:50 +00:00
- fixed typo.
This commit is contained in:
parent
0c04cddd28
commit
16ae7e3124
1 changed files with 1 additions and 1 deletions
|
@ -381,7 +381,7 @@ bool DFrameBuffer::SetTextureParms(DrawParms *parms, FTexture *img, double xx, d
|
||||||
double srcwidth = img->GetDisplayWidthDouble();
|
double srcwidth = img->GetDisplayWidthDouble();
|
||||||
double srcheight = img->GetDisplayHeightDouble();
|
double srcheight = img->GetDisplayHeightDouble();
|
||||||
int autoaspect = parms->fsscalemode;
|
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->x = parms->y = 0;
|
||||||
parms->keepratio = true;
|
parms->keepratio = true;
|
||||||
auto screenratio = ActiveRatio(GetWidth(), GetHeight());
|
auto screenratio = ActiveRatio(GetWidth(), GetHeight());
|
||||||
|
|
Loading…
Reference in a new issue