diff options
author | Eugene Sandulenko | 2018-08-18 14:04:38 +0200 |
---|---|---|
committer | Eugene Sandulenko | 2018-08-18 14:05:02 +0200 |
commit | 23aa8a5d1328a078b9be616cd330c4e0a1641e97 (patch) | |
tree | 69dd62618f94c87dd5a41badec6843b19a9d44dc /backends/graphics | |
parent | 91b17af1cf3814e6046a2df7addc23eff61b21ba (diff) | |
download | scummvm-rg350-23aa8a5d1328a078b9be616cd330c4e0a1641e97.tar.gz scummvm-rg350-23aa8a5d1328a078b9be616cd330c4e0a1641e97.tar.bz2 scummvm-rg350-23aa8a5d1328a078b9be616cd330c4e0a1641e97.zip |
DINGUX: Fix initSize() method signature
Diffstat (limited to 'backends/graphics')
-rw-r--r-- | backends/graphics/dinguxsdl/dinguxsdl-graphics.cpp | 2 | ||||
-rw-r--r-- | backends/graphics/dinguxsdl/dinguxsdl-graphics.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/backends/graphics/dinguxsdl/dinguxsdl-graphics.cpp b/backends/graphics/dinguxsdl/dinguxsdl-graphics.cpp index e04c9145c2..fa2217dfd8 100644 --- a/backends/graphics/dinguxsdl/dinguxsdl-graphics.cpp +++ b/backends/graphics/dinguxsdl/dinguxsdl-graphics.cpp @@ -117,7 +117,7 @@ void DINGUXSdlGraphicsManager::setGraphicsModeIntern() { blitCursor(); } -void DINGUXSdlGraphicsManager::initSize(uint w, uint h) { +void DINGUXSdlGraphicsManager::initSize(uint w, uint h, const Graphics::PixelFormat *format) { assert(_transactionMode == kTransactionActive); // Avoid redundant res changes diff --git a/backends/graphics/dinguxsdl/dinguxsdl-graphics.h b/backends/graphics/dinguxsdl/dinguxsdl-graphics.h index 3a2a299a2f..ac3c287940 100644 --- a/backends/graphics/dinguxsdl/dinguxsdl-graphics.h +++ b/backends/graphics/dinguxsdl/dinguxsdl-graphics.h @@ -41,7 +41,7 @@ public: bool getFeatureState(OSystem::Feature f) const override; int getDefaultGraphicsMode() const override; - void initSize(uint w, uint h) override; + void initSize(uint w, uint h, const Graphics::PixelFormat *format = NULL) override; const OSystem::GraphicsMode *getSupportedGraphicsModes() const override; bool setGraphicsMode(const char *name) override; bool setGraphicsMode(int mode) override; |