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
This commit is contained in:
Alejandro Marzini 2010-07-30 03:06:57 +00:00
parent 37f7748a4a
commit 9daa1c7f93
11 changed files with 32 additions and 4 deletions

View file

@ -59,6 +59,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 = 0;