[gdk-pixbuf] ico: Add comment for 32-bit lines
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gdk-pixbuf] ico: Add comment for 32-bit lines
- Date: Wed, 14 Dec 2016 19:17:29 +0000 (UTC)
commit e51e73964ddcb0410cbdac20d2d6f4bad1b3744f
Author: Bastien Nocera <hadess hadess net>
Date: Wed Dec 14 19:58:21 2016 +0100
ico: Add comment for 32-bit lines
gdk-pixbuf/io-ico.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/gdk-pixbuf/io-ico.c b/gdk-pixbuf/io-ico.c
index f651bdc..f5b0c6f 100644
--- a/gdk-pixbuf/io-ico.c
+++ b/gdk-pixbuf/io-ico.c
@@ -620,6 +620,7 @@ OneLine32 (struct ico_progressive_state *context)
(gsize) context->pixbuf->rowstride *
context->Lines);
while (X < context->Header.width) {
+ /* BGRA */
Pixels[X * 4 + 0] = context->LineBuf[X * 4 + 2];
Pixels[X * 4 + 1] = context->LineBuf[X * 4 + 1];
Pixels[X * 4 + 2] = context->LineBuf[X * 4 + 0];
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]