diff options
author | Colin Snover | 2017-10-07 12:01:23 -0500 |
---|---|---|
committer | Colin Snover | 2017-10-07 12:30:29 -0500 |
commit | 04f357e6ff0c7c2b5c11d853fc3e40d0b4cdd391 (patch) | |
tree | f95119d89e033f435f63db390ce9ba2193928f40 /backends/graphics | |
parent | 6e157429b7a5a64af6265d075c88595df2d6fd79 (diff) | |
download | scummvm-rg350-04f357e6ff0c7c2b5c11d853fc3e40d0b4cdd391.tar.gz scummvm-rg350-04f357e6ff0c7c2b5c11d853fc3e40d0b4cdd391.tar.bz2 scummvm-rg350-04f357e6ff0c7c2b5c11d853fc3e40d0b4cdd391.zip |
BACKENDS: Make initSizeHint an optional extension point
There is no particular reason why backends that don't need to
calculate screen dimensions in advance should still need to
implement initSizeHint at this point.
Diffstat (limited to 'backends/graphics')
-rw-r--r-- | backends/graphics/graphics.h | 2 |
1 files changed, 1 insertions, 1 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; |