mirror of
				https://github.com/Swordfish90/cool-retro-term.git
				synced 2025-10-31 07:04:20 +00:00 
			
		
		
		
	Fix noise element sizes with different rasterizations.
This commit is contained in:
		| @@ -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 | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user