From 986b1354039958de97eaa3a06189d0067b6b5d5a Mon Sep 17 00:00:00 2001 From: Edgaru089 Date: Thu, 21 Oct 2021 23:39:49 +0800 Subject: [PATCH] graphics: mention XCursor uses premultiplied alpha --- graphics/xcursor/xcursor.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/graphics/xcursor/xcursor.h b/graphics/xcursor/xcursor.h index b638501..7c570dc 100644 --- a/graphics/xcursor/xcursor.h +++ b/graphics/xcursor/xcursor.h @@ -65,7 +65,7 @@ typedef struct { uint32_t width, height; // Width/Height, <=0x7fff uint32_t xhot, yhot; // X/Y hotpoint, <=Width/Height uint32_t delay; // Delay between animation frames in milliseconds - HelosGraphics_Color pixels[1]; // Packed ARGB little-endian format pixels, with A at the highest byte (BGRA in byte order) + HelosGraphics_Color pixels[1]; // Packed ARGB little-endian format pixels, with A at the highest byte (BGRA in byte order), with premultiplied alpha } PACKED xcursor_ChunkHeader_Image;