evas: remove dead code.

This commit is contained in:
Cedric BAIL 2014-03-17 16:45:50 +09:00 committed by Cedric BAIL
parent 3699ec6883
commit dc75a1fcff
3 changed files with 0 additions and 24 deletions

View File

@ -689,14 +689,6 @@ eng_image_size_set(void *data, void *image, int w, int h)
im = evas_gl_common_image_new(re->win->gl_context, w, h,
eng_image_alpha_get(data, image),
eng_image_colorspace_get(data, image));
/*
evas_common_load_image_data_from_file(im_old->im);
if (im_old->im->image->data)
{
evas_common_blit_rectangle(im_old->im, im->im, 0, 0, w, h, 0, 0);
evas_common_cpu_end_opt();
}
*/
evas_gl_common_image_free(im_old);
}
else

View File

@ -578,14 +578,6 @@ eng_image_size_set(void *data, void *image, int w, int h)
im = evas_gl_common_image_new(re->gl_context, w, h,
eng_image_alpha_get(data, image),
eng_image_colorspace_get(data, image));
/*
evas_common_load_image_data_from_file(im_old->im);
if (im_old->im->image->data)
{
evas_common_blit_rectangle(im_old->im, im->im, 0, 0, w, h, 0, 0);
evas_common_cpu_end_opt();
}
*/
evas_gl_common_image_free(im_old);
}
else

View File

@ -2725,14 +2725,6 @@ eng_image_size_set(void *data, void *image, int w, int h)
im = evas_gl_common_image_new(re->win->gl_context, w, h,
eng_image_alpha_get(data, image),
eng_image_colorspace_get(data, image));
/*
evas_common_load_image_data_from_file(im_old->im);
if (im_old->im->image->data)
{
evas_common_blit_rectangle(im_old->im, im->im, 0, 0, w, h, 0, 0);
evas_common_cpu_end_opt();
}
*/
evas_gl_common_image_free(im_old);
}
else