Be less vocal about image parsing failures.

This should help fix some intermittent failures where this error message was
printed intertwined with the test results, causing wptrunner to not notice
the results.
This commit is contained in:
Ms2ger 2015-07-29 10:06:23 +02:00
parent 1b897abf98
commit de39880fa6

View file

@ -101,11 +101,11 @@ pub fn load_from_memory(buffer: &[u8]) -> Option<Image> {
})
}
stb_image2::LoadResult::ImageF32(_image) => {
error!("HDR images not implemented");
debug!("HDR images not implemented");
None
}
stb_image2::LoadResult::Error(e) => {
error!("stb_image failed: {}", e);
debug!("stb_image failed: {}", e);
None
}
}