forked from enlightenment/efl
evas: simplify code at the same time.
SVN revision: 64169
This commit is contained in:
parent
6f3529fe65
commit
519750e778
|
@ -2443,14 +2443,13 @@ eng_image_data_put(void *data, void *image, DATA32 *image_data)
|
|||
&& (im->tex->pt->dyn.data)
|
||||
&& (im->cs.space == EVAS_COLORSPACE_ARGB8888))
|
||||
{
|
||||
int w, h;
|
||||
|
||||
#if defined (GLES_VARIETY_S3C6410) || defined (GLES_VARIETY_SGX)
|
||||
glsym_eglUnmapImageSEC(re->win->egl_disp, im->tex->pt->dyn.img);
|
||||
#endif
|
||||
if (im->tex->pt->dyn.data == image_data)
|
||||
return image;
|
||||
else
|
||||
{
|
||||
int w, h;
|
||||
|
||||
w = im->im->cache_entry.w;
|
||||
h = im->im->cache_entry.h;
|
||||
|
@ -2463,7 +2462,6 @@ eng_image_data_put(void *data, void *image, DATA32 *image_data)
|
|||
evas_gl_common_image_dirty(im, 0, 0, 0, 0);
|
||||
return im;
|
||||
}
|
||||
}
|
||||
switch (im->cs.space)
|
||||
{
|
||||
case EVAS_COLORSPACE_ARGB8888:
|
||||
|
|
Loading…
Reference in New Issue