[gdk-pixbuf] ico: Add comment for 32-bit lines



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]