From 52aeb3fe5a20bc01012bfef509cec1f5cbaec784 Mon Sep 17 00:00:00 2001 From: kramm Date: Sat, 13 Jan 2007 17:25:20 +0000 Subject: [PATCH] added comment about image alpha --- lib/gfxdevice.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/gfxdevice.h b/lib/gfxdevice.h index b4dd19f..f852814 100644 --- a/lib/gfxdevice.h +++ b/lib/gfxdevice.h @@ -55,6 +55,8 @@ typedef struct _gfxmatrix typedef struct _gfximage { + /* if the data contains an alpha layer (a != 255), the + r,g,b values will have to be premultiplied */ gfxcolor_t*data; int width; int height; -- 1.7.10.4