diff options
author | Eugene Sandulenko | 2017-03-04 22:45:01 +0100 |
---|---|---|
committer | GitHub | 2017-03-04 22:45:01 +0100 |
commit | 547e5846a144b820981c45cf3f76c77075971197 (patch) | |
tree | 361701d1d21f9bcf1708e1e1d922e3e743ae6c59 /backends/graphics/graphics.h | |
parent | 72962ae0f6338ccecd29efb4da65efe99acf4b99 (diff) | |
parent | 70988527c64947fd7fe3c361907e9f0806b0cb5c (diff) | |
download | scummvm-rg350-547e5846a144b820981c45cf3f76c77075971197.tar.gz scummvm-rg350-547e5846a144b820981c45cf3f76c77075971197.tar.bz2 scummvm-rg350-547e5846a144b820981c45cf3f76c77075971197.zip |
Merge pull request #915 from rsn8887/vita
PSP2: Add Playstation Vita support
Diffstat (limited to 'backends/graphics/graphics.h')
-rw-r--r-- | backends/graphics/graphics.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/backends/graphics/graphics.h b/backends/graphics/graphics.h index db8b6a920b..f6b0058fac 100644 --- a/backends/graphics/graphics.h +++ b/backends/graphics/graphics.h @@ -46,6 +46,13 @@ public: virtual bool setGraphicsMode(int mode) = 0; virtual void resetGraphicsScale() = 0; virtual int getGraphicsMode() const = 0; + virtual const OSystem::GraphicsMode *getSupportedShaders() const { + static const OSystem::GraphicsMode no_shader[2] = {{"NONE", "Normal (no shader)", 0}, {0, 0, 0}}; + return no_shader; + }; + virtual bool setShader(int id) { return false; } + virtual int getShader() { return 0; } + #ifdef USE_RGB_COLOR virtual Graphics::PixelFormat getScreenFormat() const = 0; virtual Common::List<Graphics::PixelFormat> getSupportedFormats() const = 0; |