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 /common | |
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 'common')
-rw-r--r-- | common/system.h | 2 |
1 files changed, 1 insertions, 1 deletions
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 |