aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Horn2011-06-08 12:10:14 +0200
committerMax Horn2011-06-08 12:10:49 +0200
commit0b7f475e3506e69ed7ad8904ea0be28fd030726a (patch)
tree5e2df4cac5912d23beb5f38c53c80f8e43b2c5bb
parentbdd5256e1536b8a954e9000161fcdbd730a35bbe (diff)
downloadscummvm-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.cpp3
-rw-r--r--backends/base-backend.h2
-rw-r--r--common/system.h2
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
/**