forked from enlightenment/efl
Emile: Allow load of ETC images if region = whole image
@fix
This commit is contained in:
parent
e555f07235
commit
e5dbc21119
|
@ -335,7 +335,9 @@ _emile_tgv_head(Emile_Image *image,
|
||||||
0, 0,
|
0, 0,
|
||||||
image->size.width, image->size.height);
|
image->size.width, image->size.height);
|
||||||
if (image->load_opts &&
|
if (image->load_opts &&
|
||||||
(image->opts.region.w > 0 && image->opts.region.h > 0))
|
((image->opts.region.w > 0) && (image->opts.region.h > 0) &&
|
||||||
|
(image->opts.region.w != (int) image->size.width) &&
|
||||||
|
(image->opts.region.h != (int) image->size.height)))
|
||||||
{
|
{
|
||||||
/* ETC colorspace doesn't work with region for now */
|
/* ETC colorspace doesn't work with region for now */
|
||||||
prop->cspaces = NULL;
|
prop->cspaces = NULL;
|
||||||
|
|
Loading…
Reference in New Issue