forked from enlightenment/efl
Evas DDS: Silently fail when the format is not DDS
Evas can try all image loaders sequentially and they shouldn't complain that the file does not match their format.
This commit is contained in:
parent
0d9005aa0c
commit
a94ecda7c0
|
@ -185,7 +185,7 @@ evas_image_load_file_head_dds(void *loader_data,
|
||||||
*error = EVAS_LOAD_ERROR_CORRUPT_FILE;
|
*error = EVAS_LOAD_ERROR_CORRUPT_FILE;
|
||||||
if (strncmp(m, "DDS ", 4) != 0)
|
if (strncmp(m, "DDS ", 4) != 0)
|
||||||
// TODO: Add support for DX10
|
// TODO: Add support for DX10
|
||||||
FAIL();
|
goto on_error;
|
||||||
m += 4;
|
m += 4;
|
||||||
|
|
||||||
// Read DDS_HEADER
|
// Read DDS_HEADER
|
||||||
|
|
Loading…
Reference in New Issue