mirror of
https://github.com/Swordfish90/cool-retro-term.git
synced 2025-02-21 20:39:00 +00:00
Fix noise element sizes with different rasterizations.
This commit is contained in:
parent
c94e31f82a
commit
7bd8b56657
@ -278,7 +278,8 @@ Item{
|
|||||||
ShaderEffect {
|
ShaderEffect {
|
||||||
id: staticNoiseEffect
|
id: staticNoiseEffect
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
property size virtual_resolution: Qt.size(kterminal.width, kterminal.height)
|
property real element_size: shadersettings.rasterization == shadersettings.no_rasterization ? 2 : 1
|
||||||
|
property size virtual_resolution: Qt.size(kterminal.width / element_size, kterminal.height / element_size)
|
||||||
|
|
||||||
blending: false
|
blending: false
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user