BACKENDS: Add missing function to ModularGraphicsBackend

Fixes Trac #11778
This commit is contained in:
Cameron Cawley 2020-10-15 12:56:45 +01:00
parent a42188fddd
commit a24194b4c9
2 changed files with 7 additions and 1 deletions

View File

@ -261,6 +261,10 @@ void ModularGraphicsBackend::displayActivityIconOnOSD(const Graphics::Surface *i
_graphicsManager->displayActivityIconOnOSD(icon);
}
void ModularGraphicsBackend::saveScreenshot() {
_graphicsManager->saveScreenshot();
}
ModularMixerBackend::ModularMixerBackend()
:

View File

@ -114,7 +114,7 @@ public:
virtual void warpMouse(int x, int y) override final;
virtual void setMouseCursor(const void *buf, uint w, uint h, int hotspotX, int hotspotY, uint32 keycolor, bool dontScale = false, const Graphics::PixelFormat *format = NULL) override final;
virtual void setCursorPalette(const byte *colors, uint start, uint num) override final;
virtual bool lockMouse(bool lock) override;
virtual bool lockMouse(bool lock) override final;
//@}
@ -124,6 +124,8 @@ public:
virtual void displayMessageOnOSD(const Common::U32String &msg) override final;
virtual void displayActivityIconOnOSD(const Graphics::Surface *icon) override final;
virtual void saveScreenshot() override final;
//@}
protected: