aboutsummaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorThierry Crozat2016-10-16 18:42:40 +0100
committerGitHub2016-10-16 18:42:40 +0100
commit5151bd99dd8bc342a1367c558892d5486826941c (patch)
tree290e6458cbfc728f5415cff213dc813913f17bc9 /common
parentabc4656cc00f11091210213058a883718442b7b7 (diff)
parentaa39a6ce4b2285d1308eb4607bdd53d317304661 (diff)
downloadscummvm-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.h9
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 */
};
/**