diff options
author | Thierry Crozat | 2018-05-12 19:57:21 +0100 |
---|---|---|
committer | Thierry Crozat | 2018-07-08 16:54:51 +0100 |
commit | 812ce59ee44d669d2b17a1c1602f9364900b9479 (patch) | |
tree | d1a7b66bc186a5c892c67e281a502a997246f369 /dists/win32 | |
parent | 8526c2c31a07e57f7166047a87474bffd82e8a03 (diff) | |
download | scummvm-rg350-812ce59ee44d669d2b17a1c1602f9364900b9479.tar.gz scummvm-rg350-812ce59ee44d669d2b17a1c1602f9364900b9479.tar.bz2 scummvm-rg350-812ce59ee44d669d2b17a1c1602f9364900b9479.zip |
SDL: Implement stretch mode API
Four modes are supported:
- Use original size with no scaling
- Scale by an integral amount as much as possible but not bigger
than the window.
- Scale to fit the window while respecting the aspect ratio. There
may be black bars on the left and right, or on the top and bottom,
but not both. This is the default, and the old behaviour.
- Scale and stretch to fit the window. In this mode the aspecy ratio
is not respected and there is no black bars.
The mode is controled by the "scaling_mode" value (between 0 and 3) in
the config file.
Also add Crtl-Alt-s hotkey to cycle through scaling modes
Diffstat (limited to 'dists/win32')
0 files changed, 0 insertions, 0 deletions