diff options
Diffstat (limited to 'src/effects/Desaturate.qml')
-rw-r--r-- | src/effects/Desaturate.qml | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/effects/Desaturate.qml b/src/effects/Desaturate.qml index 3347e2f..e56de55 100644 --- a/src/effects/Desaturate.qml +++ b/src/effects/Desaturate.qml @@ -122,8 +122,7 @@ Item { SourceProxy { id: sourceProxy input: rootItem.source - interpolation: rootItem.smooth || (rootItem.layer.enabled && rootItem.layer.smooth) - ? SourceProxy.NearestInterpolation : SourceProxy.LinearInterpolation + interpolation: input && input.smooth ? SourceProxy.LinearInterpolation : SourceProxy.NearestInterpolation } ShaderEffectSource { |