You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
Replace 'ERR_EXPLAIN' with 'ERR_FAIL_*_MSG' in rest of 'modules/'
This commit is contained in:
@@ -84,8 +84,7 @@ static Ref<Image> _webp_lossy_unpack(const PoolVector<uint8_t> &p_buffer) {
|
||||
ERR_FAIL_COND_V(r[0] != 'W' || r[1] != 'E' || r[2] != 'B' || r[3] != 'P', Ref<Image>());
|
||||
WebPBitstreamFeatures features;
|
||||
if (WebPGetFeatures(&r[4], size, &features) != VP8_STATUS_OK) {
|
||||
ERR_EXPLAIN("Error unpacking WEBP image:");
|
||||
ERR_FAIL_V(Ref<Image>());
|
||||
ERR_FAIL_V_MSG(Ref<Image>(), "Error unpacking WEBP image.");
|
||||
}
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user