aboutsummaryrefslogtreecommitdiffstats
path: root/src/effects/Desaturate.qml
diff options
context:
space:
mode:
Diffstat (limited to 'src/effects/Desaturate.qml')
-rw-r--r--src/effects/Desaturate.qml2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/effects/Desaturate.qml b/src/effects/Desaturate.qml
index 13f3e85..93e1256 100644
--- a/src/effects/Desaturate.qml
+++ b/src/effects/Desaturate.qml
@@ -122,6 +122,8 @@ Item {
SourceProxy {
id: sourceProxy
input: rootItem.source
+ interpolation: rootItem.smooth || (rootItem.layer.enabled && rootItem.layer.smooth)
+ ? SourceProxy.NearestInterpolation : SourceProxy.LinearInterpolation
}
ShaderEffectSource {