mirror of
				https://github.com/hyperion-project/hyperion.ng.git
				synced 2025-03-01 10:33:28 +00:00 
			
		
		
		
	Merge pull request #496 from MartB/patch-1
RGBTransform fix gamma adjustment of green, blue always taking red value
This commit is contained in:
		| @@ -144,8 +144,8 @@ void RgbTransform::transform(uint8_t & red, uint8_t & green, uint8_t & blue) | ||||
| { | ||||
| 	// apply gamma | ||||
| 	red   = _mappingR[red]; | ||||
| 	green = _mappingR[green]; | ||||
| 	blue  = _mappingR[blue]; | ||||
| 	green = _mappingG[green]; | ||||
| 	blue  = _mappingB[blue]; | ||||
|  | ||||
| 	// apply brightnesss | ||||
| 	int rgbSum = red+green+blue; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user