summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/cd_bitmap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cd_bitmap.c b/src/cd_bitmap.c
index 234668c..ec4909e 100644
--- a/src/cd_bitmap.c
+++ b/src/cd_bitmap.c
@@ -135,7 +135,7 @@ cdBitmap* cdInitBitmap(int w, int h, int type, ...)
va_start(arglist, type);
- if (type == CD_RGB)
+ if (type == CD_RGB || type == CD_RGBA)
{
data->r = va_arg(arglist, unsigned char*);
data->g = va_arg(arglist, unsigned char*);