diff options
author | Thierry Crozat | 2016-10-16 18:42:40 +0100 |
---|---|---|
committer | GitHub | 2016-10-16 18:42:40 +0100 |
commit | 5151bd99dd8bc342a1367c558892d5486826941c (patch) | |
tree | 290e6458cbfc728f5415cff213dc813913f17bc9 /common | |
parent | abc4656cc00f11091210213058a883718442b7b7 (diff) | |
parent | aa39a6ce4b2285d1308eb4607bdd53d317304661 (diff) | |
download | scummvm-rg350-5151bd99dd8bc342a1367c558892d5486826941c.tar.gz scummvm-rg350-5151bd99dd8bc342a1367c558892d5486826941c.tar.bz2 scummvm-rg350-5151bd99dd8bc342a1367c558892d5486826941c.zip |
Merge pull request #847 from criezy/sdl-filtering
Add graphics linear filtering feature
Diffstat (limited to 'common')
-rw-r--r-- | common/system.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/common/system.h b/common/system.h index cbaa30c19d..41f217fc0b 100644 --- a/common/system.h +++ b/common/system.h @@ -254,6 +254,12 @@ public: * particular, interpolation, and works in-place. */ kFeatureAspectRatioCorrection, + + /** + * If supported this flag can be used to switch between unfiltered and + * filtered graphics modes. + */ + kFeatureFilteringMode, /** * Determine whether a virtual keyboard is too be shown or not. @@ -616,7 +622,8 @@ public: kTransactionFullscreenFailed = (1 << 1), /**< Failed switching fullscreen mode */ kTransactionModeSwitchFailed = (1 << 2), /**< Failed switching the GFX graphics mode (setGraphicsMode) */ kTransactionSizeChangeFailed = (1 << 3), /**< Failed switching the screen dimensions (initSize) */ - kTransactionFormatNotSupported = (1 << 4) /**< Failed setting the color format */ + kTransactionFormatNotSupported = (1 << 4), /**< Failed setting the color format */ + kTransactionFilteringFailed = (1 << 5) /**< Failed setting the filtering mode */ }; /** |