mirror of
https://github.com/ZDoom/Raze.git
synced 2025-03-26 10:44:17 +00:00
- fixed bad aspect ratio calculation in DStatusBarCore::SetScale
This commit is contained in:
parent
3c54495c58
commit
2377b17106
1 changed files with 1 additions and 1 deletions
|
@ -352,7 +352,7 @@ void DStatusBarCore::SetScale()
|
|||
int horz = HorizontalResolution;
|
||||
int vert = VerticalResolution;
|
||||
double refaspect = horz / double(vert);
|
||||
double screenaspect = w / double(h);
|
||||
double screenaspect = ActiveRatio(w, h);
|
||||
|
||||
if ((horz == 320 && vert == 200) || (horz == 640 && vert == 400))
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue