diff options
author | Johannes Schickel | 2011-08-12 04:06:54 +0200 |
---|---|---|
committer | Johannes Schickel | 2011-08-12 04:06:54 +0200 |
commit | b8dcd9a25eb27ef40aa5535fc83879d20db7e10c (patch) | |
tree | f89d4f9ef35a6bdfcd45e9db1bdee008dfa813eb /backends/graphics/opengl/opengl-graphics.h | |
parent | a77c29327e8e4c06c3b45dac16b96198a120fefe (diff) | |
download | scummvm-rg350-b8dcd9a25eb27ef40aa5535fc83879d20db7e10c.tar.gz scummvm-rg350-b8dcd9a25eb27ef40aa5535fc83879d20db7e10c.tar.bz2 scummvm-rg350-b8dcd9a25eb27ef40aa5535fc83879d20db7e10c.zip |
OPENGL: Fix aspect ratio correction behavior.
Now only 320x200 and 640x400 will result in aspect ratio correction to be used
if the user requested it. This should fix some strechting in Myst/Riven.
Diffstat (limited to 'backends/graphics/opengl/opengl-graphics.h')
-rw-r--r-- | backends/graphics/opengl/opengl-graphics.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/backends/graphics/opengl/opengl-graphics.h b/backends/graphics/opengl/opengl-graphics.h index 8a110b2d5f..42cfbacc85 100644 --- a/backends/graphics/opengl/opengl-graphics.h +++ b/backends/graphics/opengl/opengl-graphics.h @@ -214,10 +214,7 @@ protected: virtual void calculateDisplaySize(int &width, int &height); virtual void refreshDisplaySize(); - /** - * Returns the current target aspect ratio x 10000 - */ - virtual uint getAspectRatio(); + uint getAspectRatio() const; bool _formatBGR; |