aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--backends/graphics/graphics.h2
-rw-r--r--common/system.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/backends/graphics/graphics.h b/backends/graphics/graphics.h
index 9f07d36190..bcd659ac11 100644
--- a/backends/graphics/graphics.h
+++ b/backends/graphics/graphics.h
@@ -59,7 +59,7 @@ public:
virtual Common::List<Graphics::PixelFormat> getSupportedFormats() const = 0;
#endif
virtual void initSize(uint width, uint height, const Graphics::PixelFormat *format = NULL) = 0;
- virtual void initSizeHint(const Graphics::ModeList &modes) = 0;
+ virtual void initSizeHint(const Graphics::ModeList &modes) {}
virtual int getScreenChangeID() const = 0;
virtual void beginGFXTransaction() = 0;
diff --git a/common/system.h b/common/system.h
index a7f084b455..206c3134c4 100644
--- a/common/system.h
+++ b/common/system.h
@@ -644,7 +644,7 @@ public:
*
* @param modes the list of graphics modes the engine will probably use.
*/
- virtual void initSizeHint(const Graphics::ModeList &modes) = 0;
+ virtual void initSizeHint(const Graphics::ModeList &modes) {}
/**
* Return an int value which is changed whenever any screen