diff options
author | scuri <scuri> | 2011-08-18 01:01:36 +0000 |
---|---|---|
committer | scuri <scuri> | 2011-08-18 01:01:36 +0000 |
commit | 8bf66acf2301188c66b5adf5f6ad966bb2e32582 (patch) | |
tree | 1298cced0eea6638f11fff8b671cc03979b20d89 /src | |
parent | 51f26b3868b62f70f49e11dab933b4778ffa84c6 (diff) |
*** empty log message ***
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; |