diff options
author | Max Horn | 2011-06-08 12:10:14 +0200 |
---|---|---|
committer | Max Horn | 2011-06-08 12:10:49 +0200 |
commit | 0b7f475e3506e69ed7ad8904ea0be28fd030726a (patch) | |
tree | 5e2df4cac5912d23beb5f38c53c80f8e43b2c5bb | |
parent | bdd5256e1536b8a954e9000161fcdbd730a35bbe (diff) | |
download | scummvm-rg350-0b7f475e3506e69ed7ad8904ea0be28fd030726a.tar.gz scummvm-rg350-0b7f475e3506e69ed7ad8904ea0be28fd030726a.tar.bz2 scummvm-rg350-0b7f475e3506e69ed7ad8904ea0be28fd030726a.zip |
BACKENDS: Add OSystem::resetGraphicsScale() default implementation
-rw-r--r-- | backends/base-backend.cpp | 3 | ||||
-rw-r--r-- | backends/base-backend.h | 2 | ||||
-rw-r--r-- | common/system.h | 2 |
3 files changed, 1 insertions, 6 deletions
diff --git a/backends/base-backend.cpp b/backends/base-backend.cpp index 156871eec5..a1027e098d 100644 --- a/backends/base-backend.cpp +++ b/backends/base-backend.cpp @@ -51,6 +51,3 @@ void BaseBackend::fillScreen(uint32 col) { memset(screen->pixels, col, screen->h * screen->pitch); unlockScreen(); } - -void BaseBackend::resetGraphicsScale() { -} diff --git a/backends/base-backend.h b/backends/base-backend.h index 6b19b7a9cb..bae77d4666 100644 --- a/backends/base-backend.h +++ b/backends/base-backend.h @@ -32,8 +32,6 @@ public: virtual void displayMessageOnOSD(const char *msg); virtual void fillScreen(uint32 col); - - virtual void resetGraphicsScale(); }; diff --git a/common/system.h b/common/system.h index 0d0ffda1e0..bea463410a 100644 --- a/common/system.h +++ b/common/system.h @@ -456,7 +456,7 @@ public: * reset the scale to x1 so the screen will not be too big when starting * the game. */ - virtual void resetGraphicsScale() = 0; + virtual void resetGraphicsScale() {} #ifdef USE_RGB_COLOR /** |