Thread: IPlug - Youlean
View Single Post
Old 04-11-2018, 04:57 PM   #407
random_id
Human being with feelings
 
random_id's Avatar
 
Join Date: May 2012
Location: PA, USA
Posts: 356
Default

I think I found the problem.
In swell-gdi.mm, line 205 is:
Code:
CGContextRef c=CGBitmapContextCreate(ALIGN_FBUF(buf),w,h,8,w*4,__GetDisplayColorSpace(), kCGImageAlphaNoneSkipFirst);
If I change it to:
Code:
CGContextRef c=CGBitmapContextCreate(ALIGN_FBUF(buf),w,h,8,w*4, __GetBitmapColorSpace(), kCGImageAlphaNoneSkipFirst | kCGBitmapByteOrder32Host);
the color looks correct
__________________
Website: LVC-Audio
random_id is offline   Reply With Quote