Permalink
Browse files

DINGUX: Fix initSize() method signature

  • Loading branch information...
sev- committed Aug 18, 2018
1 parent 91b17af commit 23aa8a5d1328a078b9be616cd330c4e0a1641e97
@@ -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
@@ -41,7 +41,7 @@ class DINGUXSdlGraphicsManager : public SurfaceSdlGraphicsManager {
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;

0 comments on commit 23aa8a5

Please sign in to comment.