emotion/smart - Use ARGB32 when it's the format returned by the module.
authorantognolli <antognolli>
Wed, 17 Aug 2011 19:37:31 +0000 (19:37 +0000)
committerantognolli <antognolli@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Wed, 17 Aug 2011 19:37:31 +0000 (19:37 +0000)
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/emotion@62542 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/lib/emotion_smart.c

index 50a8dc7..87f58d1 100644 (file)
@@ -1520,6 +1520,7 @@ _pixels_get(void *data, Evas_Object *obj)
          }
        else if (format == EMOTION_FORMAT_BGRA)
          {
+            evas_object_image_colorspace_set(obj, EVAS_COLORSPACE_ARGB8888);
             if (sd->module->bgra_data_get(sd->video, &bgra_data))
               {
                  evas_object_image_data_set(obj, bgra_data);