diff options
author | Jochen Hoenicke | 2003-08-16 11:00:13 +0000 |
---|---|---|
committer | Jochen Hoenicke | 2003-08-16 11:00:13 +0000 |
commit | c9ece33b810748abf9edee3b1f2a8964c0da1cc6 (patch) | |
tree | 935bcb6120ea989b89553ae9d7ef5403b0028e10 /common/scaler.h | |
parent | 8cd96c7926f7ef764a22b65c4d6eb9d599e82f31 (diff) | |
download | scummvm-rg350-c9ece33b810748abf9edee3b1f2a8964c0da1cc6.tar.gz scummvm-rg350-c9ece33b810748abf9edee3b1f2a8964c0da1cc6.tar.bz2 scummvm-rg350-c9ece33b810748abf9edee3b1f2a8964c0da1cc6.zip |
Fixed aspect ratio scaler
svn-id: r9723
Diffstat (limited to 'common/scaler.h')
-rw-r--r-- | common/scaler.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/scaler.h b/common/scaler.h index bf09604552..50cf196582 100644 --- a/common/scaler.h +++ b/common/scaler.h @@ -46,7 +46,7 @@ FORCEINLINE int real2Aspect(int y) { } FORCEINLINE int aspect2Real(int y) { - return (y * 5 + 3) / 6; + return (y * 5 + 4) / 6; } extern void makeRectStretchable(int &x, int &y, int &w, int &h); |