summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
56d8f06)
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/e_dbus@64838
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
img->has_alpha = !!evas_object_image_alpha_get(obj);
img->channels = img->has_alpha ? 4 : 3;
img->rowstride = evas_object_image_stride_get(obj);
img->has_alpha = !!evas_object_image_alpha_get(obj);
img->channels = img->has_alpha ? 4 : 3;
img->rowstride = evas_object_image_stride_get(obj);
+ if (img->rowstride == 4 * img->width)
+ img->rowstride = img->channels * img->width;
if (rgb) evas_object_image_data_set(obj, img->data);
return EINA_TRUE;
}
if (rgb) evas_object_image_data_set(obj, img->data);
return EINA_TRUE;
}