apple bitmap info -> ignores alpha
This commit is contained in:
parent
ec0cb6b43c
commit
42bfebf35d
@ -359,7 +359,7 @@ void window_draw(window *w, unsigned char *img, int32_t dx, int32_t dy, int32_t
|
|||||||
);
|
);
|
||||||
|
|
||||||
CGColorSpaceRef colorSpaceRef = CGColorSpaceCreateDeviceRGB();
|
CGColorSpaceRef colorSpaceRef = CGColorSpaceCreateDeviceRGB();
|
||||||
CGBitmapInfo bitmapInfo = kCGBitmapByteOrderDefault;
|
CGBitmapInfo bitmapInfo = kCGBitmapByteOrderDefault | kCGImageAlphaNoneSkipLast;
|
||||||
CGColorRenderingIntent renderingIntent = kCGRenderingIntentDefault;
|
CGColorRenderingIntent renderingIntent = kCGRenderingIntentDefault;
|
||||||
|
|
||||||
CGImageRef imageRef = CGImageCreate(
|
CGImageRef imageRef = CGImageCreate(
|
||||||
|
Loading…
Reference in New Issue
Block a user