aboutsummaryrefslogtreecommitdiffstats
path: root/src/effects/Colorize.qml
diff options
context:
space:
mode:
Diffstat (limited to 'src/effects/Colorize.qml')
-rw-r--r--src/effects/Colorize.qml3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/effects/Colorize.qml b/src/effects/Colorize.qml
index 501111f..42f1796 100644
--- a/src/effects/Colorize.qml
+++ b/src/effects/Colorize.qml
@@ -210,8 +210,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 {