variable 'r'/'g'/'b' is uninitialized when used here
variable 'blendmode' is uninitialized when used here