Use window scaling parameter for framebuffer size.

This commit is contained in:
Filippo Scognamiglio
2018-12-03 12:42:11 +01:00
parent f497bb4b44
commit da6795f002
4 changed files with 6 additions and 12 deletions

View File

@@ -338,7 +338,8 @@ ShaderEffect {
ShaderEffect {
id: frame
anchors.fill: parent
width: parent.width * appSettings.windowScaling
height: parent.height * appSettings.windowScaling
property ShaderEffectSource source: parent.source
property ShaderEffectSource bloomSource: parent.bloomSource
@@ -494,8 +495,6 @@ ShaderEffect {
ShaderEffectSource {
id: frameBuffer
anchors.fill: parent
visible: false
sourceItem: frame
hideSource: true