mirror of
https://github.com/godotengine/godot.git
synced 2025-11-01 14:11:15 +00:00
Remove duplicate ERR_PRINT macro.
This commit is contained in:
parent
2b1084fab3
commit
5af3b4ca27
76 changed files with 173 additions and 178 deletions
|
|
@ -69,7 +69,7 @@ Error ImageLoaderTinyEXR::load_image(Ref<Image> p_image, FileAccess *f, bool p_f
|
|||
ret = ParseEXRHeaderFromMemory(&exr_header, &exr_version, w.ptr(), src_image_len, &err);
|
||||
if (ret != TINYEXR_SUCCESS) {
|
||||
if (err) {
|
||||
ERR_PRINTS(String(err));
|
||||
ERR_PRINT(String(err));
|
||||
}
|
||||
return ERR_FILE_CORRUPT;
|
||||
}
|
||||
|
|
@ -85,7 +85,7 @@ Error ImageLoaderTinyEXR::load_image(Ref<Image> p_image, FileAccess *f, bool p_f
|
|||
ret = LoadEXRImageFromMemory(&exr_image, &exr_header, w.ptr(), src_image_len, &err);
|
||||
if (ret != TINYEXR_SUCCESS) {
|
||||
if (err) {
|
||||
ERR_PRINTS(String(err));
|
||||
ERR_PRINT(String(err));
|
||||
}
|
||||
return ERR_FILE_CORRUPT;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue