mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-14 08:30:50 +00:00
- undo the change from last commit for 5:4 monitors - turns out the scale is calculated differently for 1280x1024 and needs the buggy version to work correctly.
This commit is contained in:
parent
e7bad7218f
commit
442bead31b
1 changed files with 1 additions and 1 deletions
|
@ -486,7 +486,7 @@ void DBaseStatusBar::SetScale ()
|
||||||
ST_X = 0;
|
ST_X = 0;
|
||||||
|
|
||||||
// this was far more obtuse before...
|
// this was far more obtuse before...
|
||||||
double height4_3 = h * aspect / (4 / 3);
|
double height4_3 = h * aspect / 1.333;
|
||||||
SBarTop = int(h - height4_3 + sby * height4_3 / VerticalResolution);
|
SBarTop = int(h - height4_3 + sby * height4_3 / VerticalResolution);
|
||||||
}
|
}
|
||||||
Displacement = 0;
|
Displacement = 0;
|
||||||
|
|
Loading…
Reference in a new issue