aboutsummaryrefslogtreecommitdiff
path: root/common/scaler.h
diff options
context:
space:
mode:
authorJochen Hoenicke2003-08-16 11:00:13 +0000
committerJochen Hoenicke2003-08-16 11:00:13 +0000
commitc9ece33b810748abf9edee3b1f2a8964c0da1cc6 (patch)
tree935bcb6120ea989b89553ae9d7ef5403b0028e10 /common/scaler.h
parent8cd96c7926f7ef764a22b65c4d6eb9d599e82f31 (diff)
downloadscummvm-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.h2
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);