From bc17fd823efe6b5c28f0db5c14fa9f46e18320b9 Mon Sep 17 00:00:00 2001 From: Andri Yngvason Date: Mon, 7 Oct 2019 20:32:34 +0000 Subject: [PATCH] pngfb: Fixup --- src/pngfb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pngfb.c b/src/pngfb.c index 112e2c8..bcb12dc 100644 --- a/src/pngfb.c +++ b/src/pngfb.c @@ -68,7 +68,7 @@ struct nvnc_fb* read_png_file(const char *filename) { size_t row_bytes = png_get_rowbytes(png, info); assert(row_bytes == width * 4); - struct nvnc_fb* fb = nvnc_fb_new(width, height, DRM_FORMAT_ARGB8888); + struct nvnc_fb* fb = nvnc_fb_new(width, height, DRM_FORMAT_ABGR8888); assert(fb); uint8_t *addr = nvnc_fb_get_addr(fb);