diff options
author | Cedric BAIL <cedric.bail@samsung.com> | 2014-03-21 10:48:04 +0900 |
---|---|---|
committer | Cedric BAIL <cedric.bail@free.fr> | 2014-04-01 19:55:06 +0900 |
commit | 595324da3ebe964e674ec605b9d8926faadc95a9 (patch) | |
tree | a08c3dd2d0b51975c44661040930cfbfe33b19e3 | |
parent | c3a9a9b6bf97f94fa5c04c196849b9dc9102ec29 (diff) | |
download | efl-595324da3ebe964e674ec605b9d8926faadc95a9.tar.gz |
evas: don't forget that we can allocate AGRY8 now.
-rw-r--r-- | src/lib/evas/common/evas_image_main.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/evas/common/evas_image_main.c b/src/lib/evas/common/evas_image_main.c index 5ac91ccd33..f4302b18b2 100644 --- a/src/lib/evas/common/evas_image_main.c +++ b/src/lib/evas/common/evas_image_main.c @@ -124,6 +124,7 @@ _evas_common_rgba_image_surface_size(unsigned int w, unsigned int h, Evas_Colors switch (cspace) { case EVAS_COLORSPACE_GRY8: siz = w * h * sizeof(DATA8); break; + case EVAS_COLORSPACE_AGRY88: siz = w * h * sizeof(DATA16); break; case EVAS_COLORSPACE_ARGB8888: siz = w * h * sizeof(DATA32); break; case EVAS_COLORSPACE_ETC1: // Need to round width and height independently |