forked from enlightenment/enlightenment
parent
fe4b68060e
commit
839b515b43
|
@ -172,7 +172,7 @@ _save_to(const char *file)
|
||||||
if (z)
|
if (z)
|
||||||
{
|
{
|
||||||
unsigned char *src, *dst, *s, *d;
|
unsigned char *src, *dst, *s, *d;
|
||||||
int sstd, dstd, y;
|
int sstd, y;
|
||||||
|
|
||||||
o = evas_object_image_add(evas_object_evas_get(o_img));
|
o = evas_object_image_add(evas_object_evas_get(o_img));
|
||||||
evas_object_image_colorspace_set(o, EVAS_COLORSPACE_ARGB8888);
|
evas_object_image_colorspace_set(o, EVAS_COLORSPACE_ARGB8888);
|
||||||
|
@ -181,7 +181,6 @@ _save_to(const char *file)
|
||||||
src = evas_object_image_data_get(o_img, EINA_FALSE);
|
src = evas_object_image_data_get(o_img, EINA_FALSE);
|
||||||
sstd = evas_object_image_stride_get(o_img);
|
sstd = evas_object_image_stride_get(o_img);
|
||||||
dst = evas_object_image_data_get(o, EINA_TRUE);
|
dst = evas_object_image_data_get(o, EINA_TRUE);
|
||||||
dstd = evas_object_image_stride_get(o);
|
|
||||||
d = dst;
|
d = dst;
|
||||||
for (y = 0; y < z->h; y++)
|
for (y = 0; y < z->h; y++)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue