diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/cd_bitmap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cd_bitmap.c b/src/cd_bitmap.c index ec4909e..add6bb7 100644 --- a/src/cd_bitmap.c +++ b/src/cd_bitmap.c @@ -79,7 +79,7 @@ cdBitmap* cdCreateBitmap(int w, int h, int type) return NULL; } - if (type == CD_RGB) + if (type == CD_RGB || type == CD_RGBA) { data->r = data->buffer; data->g = data->r + size; |