1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-04 12:00:25 +00:00

Fix misuses of error macros

This commit is contained in:
Danil Alexeev
2023-04-18 10:20:48 +03:00
parent d6dde819be
commit 36bedd341a
11 changed files with 5 additions and 13 deletions

View File

@@ -1282,7 +1282,7 @@ XrResult OpenXRAPI::get_instance_proc_addr(const char *p_name, PFN_xrVoidFunctio
if (result != XR_SUCCESS) {
String error_message = String("Symbol ") + p_name + " not found in OpenXR instance.";
ERR_FAIL_COND_V_MSG(true, result, error_message.utf8().get_data());
ERR_FAIL_V_MSG(result, error_message.utf8().get_data());
}
return result;