git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@49329
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
goto close_file;
}
+ if ((w != ie->w) || (h != ie->h))
+ {
+ *error = EVAS_LOAD_ERROR_GENERIC;
+ goto close_file;
+ }
evas_cache_image_surface_alloc(ie, w, h);
surface = evas_cache_image_pixels(ie);
if (!surface)
*error = EVAS_LOAD_ERROR_RESOURCE_ALLOCATION_FAILED;
goto close_file;
}
- if ((w != ie->w) || (h != ie->h))
- {
- *error = EVAS_LOAD_ERROR_GENERIC;
- goto close_file;
- }
if (bit_count < 16)
{
}
else
goto close_file;
-
- if (hasa) ie->flags.alpha = 1;
if (buffer) free(buffer);
E_FCLOSE(f);