forked from enlightenment/efl
fix dyn image data return due to change i made a little bit ago
SVN revision: 65159
This commit is contained in:
parent
b43267ab25
commit
27705ad95b
|
@ -2415,8 +2415,9 @@ eng_image_data_get(void *data, void *image, int to_write, DATA32 **image_data, i
|
|||
|
||||
if (!im->tex->pt->dyn.data)
|
||||
{
|
||||
im->tex->pt->dyn.img = NULL;
|
||||
if (err) *err = EVAS_LOAD_ERROR_RESOURCE_ALLOCATION_FAILED;
|
||||
GLERR(__FUNCTION__, __FILE__, __LINE__, "");
|
||||
return im;
|
||||
}
|
||||
im->tex->pt->dyn.checked_out++;
|
||||
|
||||
|
|
Loading…
Reference in New Issue