Fix: bloom issues near the edges.

This commit is contained in:
Filippo Scognamiglio
2014-09-14 01:00:38 +02:00
parent b4bf29dc9e
commit 53897f8186
2 changed files with 6 additions and 2 deletions

View File

@@ -278,6 +278,8 @@ Item{
hideSource: true
smooth: false
wrapMode: ShaderEffectSource.ClampToEdge
//sourceRect is needed because FastBlur expands slightly outside the rectangle
sourceRect: Qt.rect(-1, -1, sourceItem.width + 2, sourceItem.height + 2)
}
}