fix dyn image data return due to change i made a little bit ago

SVN revision: 65159
This commit is contained in:
Carsten Haitzler 2011-11-14 09:27:29 +00:00
parent b43267ab25
commit 27705ad95b
1 changed files with 2 additions and 1 deletions

View File

@ -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++;