diff options
| author | Cameron Cawley | 2019-12-12 23:01:10 +0000 |
|---|---|---|
| committer | Filippos Karapetis | 2019-12-15 16:06:56 +0200 |
| commit | e92ac655be8ec5af44e00c5601380bd8f62ff70e (patch) | |
| tree | e0f92900a055ae285dce7d2301ec626f4400afe7 /backends/graphics/null | |
| parent | 2dc8b845c1768fda50943f6e9a78a8e6c3c361b6 (diff) | |
| download | scummvm-rg350-e92ac655be8ec5af44e00c5601380bd8f62ff70e.tar.gz scummvm-rg350-e92ac655be8ec5af44e00c5601380bd8f62ff70e.tar.bz2 scummvm-rg350-e92ac655be8ec5af44e00c5601380bd8f62ff70e.zip | |
BACKENDS: Add default implementation for GraphicsMode functions
Diffstat (limited to 'backends/graphics/null')
| -rw-r--r-- | backends/graphics/null/null-graphics.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/backends/graphics/null/null-graphics.h b/backends/graphics/null/null-graphics.h index 3972904578..d050e98a03 100644 --- a/backends/graphics/null/null-graphics.h +++ b/backends/graphics/null/null-graphics.h @@ -25,8 +25,6 @@ #include "backends/graphics/graphics.h" -static const OSystem::GraphicsMode s_noGraphicsModes[] = { {0, 0, 0} }; - class NullGraphicsManager : public GraphicsManager { public: virtual ~NullGraphicsManager() {} @@ -35,11 +33,6 @@ public: void setFeatureState(OSystem::Feature f, bool enable) override {} bool getFeatureState(OSystem::Feature f) const override { return false; } - const OSystem::GraphicsMode *getSupportedGraphicsModes() const override { return s_noGraphicsModes; } - int getDefaultGraphicsMode() const override { return 0; } - bool setGraphicsMode(int mode) override { return true; } - void resetGraphicsScale() override {} - int getGraphicsMode() const override { return 0; } inline Graphics::PixelFormat getScreenFormat() const override { return Graphics::PixelFormat::createFormatCLUT8(); } |
