aboutsummaryrefslogtreecommitdiff
path: root/backends/modular-backend.h
diff options
context:
space:
mode:
authorAlejandro Marzini2010-07-30 03:06:57 +0000
committerAlejandro Marzini2010-07-30 03:06:57 +0000
commit9daa1c7f9359ca2467e9067b2f31021fdb7e0981 (patch)
tree2c1347da2845d81c85f4bb6b2aeb24ed92c83e25 /backends/modular-backend.h
parent37f7748a4abe9bf915871345797826641899ba49 (diff)
downloadscummvm-rg350-9daa1c7f9359ca2467e9067b2f31021fdb7e0981.tar.gz
scummvm-rg350-9daa1c7f9359ca2467e9067b2f31021fdb7e0981.tar.bz2
scummvm-rg350-9daa1c7f9359ca2467e9067b2f31021fdb7e0981.zip
OSYSTEM: Add resetGraphicsScale() method.
This fixes a hack for resetting the graphics scale to x1 when starting games that have a large screen size. The SDL graphics manager should now scale back to x1 without changing the current scaler in use, as well as the OpenGL graphics manager. svn-id: r51492
Diffstat (limited to 'backends/modular-backend.h')
-rw-r--r--backends/modular-backend.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/backends/modular-backend.h b/backends/modular-backend.h
index 63e13059cb..b7920d9d71 100644
--- a/backends/modular-backend.h
+++ b/backends/modular-backend.h
@@ -74,6 +74,7 @@ public:
virtual int getDefaultGraphicsMode() const;
virtual bool setGraphicsMode(int mode);
virtual int getGraphicsMode() const;
+ virtual void resetGraphicsScale();
#ifdef USE_RGB_COLOR
virtual Graphics::PixelFormat getScreenFormat() const;
virtual Common::List<Graphics::PixelFormat> getSupportedFormats() const;