aboutsummaryrefslogtreecommitdiff
path: root/backends/graphics/opengl/opengl-graphics.h
diff options
context:
space:
mode:
authorAlejandro Marzini2010-08-05 06:20:44 +0000
committerAlejandro Marzini2010-08-05 06:20:44 +0000
commitf97809a9a62a2d8840229facb2c2b6f75e37bad3 (patch)
tree96d12baa85a26225842a85390de30ddbf624197d /backends/graphics/opengl/opengl-graphics.h
parent4b5138483e72b091bc20bba13f2130044b20c24e (diff)
downloadscummvm-rg350-f97809a9a62a2d8840229facb2c2b6f75e37bad3.tar.gz
scummvm-rg350-f97809a9a62a2d8840229facb2c2b6f75e37bad3.tar.bz2
scummvm-rg350-f97809a9a62a2d8840229facb2c2b6f75e37bad3.zip
OPENGL: Improve aspect ratio correction mode selection.
svn-id: r51752
Diffstat (limited to 'backends/graphics/opengl/opengl-graphics.h')
-rw-r--r--backends/graphics/opengl/opengl-graphics.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/backends/graphics/opengl/opengl-graphics.h b/backends/graphics/opengl/opengl-graphics.h
index 60c569726f..a3d3483c74 100644
--- a/backends/graphics/opengl/opengl-graphics.h
+++ b/backends/graphics/opengl/opengl-graphics.h
@@ -189,6 +189,10 @@ protected:
int _aspectWidth;
int _aspectHeight;
+#ifndef USE_ALL_ASR
+ int _desiredAspectRatio;
+#endif
+
/**
* Sets the aspect ratio mode.
* @mode the aspect ratio mode, if -1 it will switch to next mode.