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