From 602edbc19d1563235fe6c2f5f4bd01d1eae5ab45 Mon Sep 17 00:00:00 2001 From: Rizvan Date: Wed, 20 Nov 2019 13:41:20 +0300 Subject: [PATCH] Fix png24 drawing after 398ad6de93 --- src/bitmap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bitmap.c b/src/bitmap.c index b5e32fab9..db0e9346e 100644 --- a/src/bitmap.c +++ b/src/bitmap.c @@ -2207,7 +2207,7 @@ gdip_bitmap_ensure_surface (GpBitmap *bitmap) switch (data->pixel_format) { case PixelFormat24bppRGB: - format = CAIRO_FORMAT_RGB24; + format = CAIRO_FORMAT_ARGB32; //CAIRO_FORMAT_RGB24; break; case PixelFormat32bppARGB: /* premultiplication is required */