aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/image.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/image.c b/src/image.c
index eb1cae853f1..9981b21365a 100644
--- a/src/image.c
+++ b/src/image.c
@@ -2681,7 +2681,11 @@ image_load_image_io (f, img, type)
2681 context = CGBitmapContextCreate (ximg->data, ximg->width, ximg->height, 8, 2681 context = CGBitmapContextCreate (ximg->data, ximg->width, ximg->height, 8,
2682 ximg->bytes_per_line, 2682 ximg->bytes_per_line,
2683 mac_cg_color_space_rgb, 2683 mac_cg_color_space_rgb,
2684 kCGImageAlphaNoneSkipFirst); 2684 kCGImageAlphaNoneSkipFirst
2685#if MAC_OS_X_VERSION_MAX_ALLOWED >= 1040
2686 | kCGBitmapByteOrder32Host
2687#endif
2688 );
2685 if (has_alpha_p) 2689 if (has_alpha_p)
2686 { 2690 {
2687 Lisp_Object specified_bg; 2691 Lisp_Object specified_bg;