diff options
author | Eugene Sandulenko | 2017-03-05 00:56:02 +0100 |
---|---|---|
committer | Eugene Sandulenko | 2017-03-05 00:56:27 +0100 |
commit | 8b8fd13d566aff2c212a6114e7ac472c3b19f9af (patch) | |
tree | b3030df387d0237541ffdb358e7c92ee6a6febc6 /common/system.h | |
parent | 6ce06d2ed0ee59fe2705e7738032112f7e5a4969 (diff) | |
download | scummvm-rg350-8b8fd13d566aff2c212a6114e7ac472c3b19f9af.tar.gz scummvm-rg350-8b8fd13d566aff2c212a6114e7ac472c3b19f9af.tar.bz2 scummvm-rg350-8b8fd13d566aff2c212a6114e7ac472c3b19f9af.zip |
BACKENDS: Fix const'ness which led to warnings
Diffstat (limited to 'common/system.h')
-rw-r--r-- | common/system.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/common/system.h b/common/system.h index 68d33b78be..32f20daf8f 100644 --- a/common/system.h +++ b/common/system.h @@ -254,7 +254,7 @@ public: * particular, interpolation, and works in-place. */ kFeatureAspectRatioCorrection, - + /** * If supported this flag can be used to switch between unfiltered and * filtered graphics modes. @@ -337,17 +337,17 @@ public: * This feature has no associated state. */ kFeatureOpenUrl , - + /** * show on-screen control */ kFeatureOnScreenControl, - + /** * mouse emulation mode */ kFeatureTouchpadMode, - + /** * swap menu and back buttons */ @@ -586,7 +586,7 @@ public: * @return a list of supported shaders */ virtual const GraphicsMode *getSupportedShaders() const { - static const OSystem::GraphicsMode no_shader[2] = {{"NONE", "Normal (no shader)", 0}, {0, 0, 0}}; + static const OSystem::GraphicsMode no_shader[2] = {{"NONE", "Normal (no shader)", 0}, {0, 0, 0}}; return no_shader; } @@ -603,7 +603,7 @@ public: * Determine which shader is currently active. * @return the ID of the active shader */ - virtual int getShader() { return 0; } + virtual int getShader() const { return 0; } /** * Set the size and color format of the virtual screen. Typical sizes include: |