You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-06 12:20:30 +00:00
Replace 'ERR_EXPLAIN' with 'ERR_FAIL_*_MSG' in rest of 'modules/'
This commit is contained in:
@@ -149,8 +149,7 @@ RES ResourceFormatPVR::load(const String &p_path, const String &p_original_path,
|
||||
format = Image::FORMAT_ETC;
|
||||
break;
|
||||
default:
|
||||
ERR_EXPLAIN("Unsupported format in PVR texture: " + itos(flags & 0xFF));
|
||||
ERR_FAIL_V(RES());
|
||||
ERR_FAIL_V_MSG(RES(), "Unsupported format in PVR texture: " + itos(flags & 0xFF) + ".");
|
||||
}
|
||||
|
||||
w.release();
|
||||
|
||||
Reference in New Issue
Block a user