[Scummvm-git-logs] scummvm master -> 23aa8a5d1328a078b9be616cd330c4e0a1641e97
sev-
sev at scummvm.org
Sat Aug 18 14:05:10 CEST 2018
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
23aa8a5d13 DINGUX: Fix initSize() method signature
Commit: 23aa8a5d1328a078b9be616cd330c4e0a1641e97
https://github.com/scummvm/scummvm/commit/23aa8a5d1328a078b9be616cd330c4e0a1641e97
Author: Eugene Sandulenko (sev at scummvm.org)
Date: 2018-08-18T14:05:02+02:00
Commit Message:
DINGUX: Fix initSize() method signature
Changed paths:
backends/graphics/dinguxsdl/dinguxsdl-graphics.cpp
backends/graphics/dinguxsdl/dinguxsdl-graphics.h
diff --git a/backends/graphics/dinguxsdl/dinguxsdl-graphics.cpp b/backends/graphics/dinguxsdl/dinguxsdl-graphics.cpp
index e04c914..fa2217d 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 3a2a299..ac3c287 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;
More information about the Scummvm-git-logs
mailing list