diff options
author | Thaddeus Crews <repiteo@outlook.com> | 2024-06-21 11:21:18 -0500 |
---|---|---|
committer | Thaddeus Crews <repiteo@outlook.com> | 2024-11-04 12:11:14 -0600 |
commit | bb5f390fb9b466be35a5df7651323d7e66afca31 (patch) | |
tree | b40523f30f590353919c6f9a2923cfe0ca6620fc /modules/openxr/openxr_api.cpp | |
parent | 89a311205f20efd28faff8e4695bd1af730613ae (diff) | |
download | redot-engine-bb5f390fb9b466be35a5df7651323d7e66afca31.tar.gz |
Style: Apply `clang-tidy` fixes (superficial)
• `modernize-use-bool-literals`, `modernize-use-nullptr`, and `readability-braces-around-statements`
Diffstat (limited to 'modules/openxr/openxr_api.cpp')
-rw-r--r-- | modules/openxr/openxr_api.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/openxr/openxr_api.cpp b/modules/openxr/openxr_api.cpp index 715d24cfd9..a6fd727290 100644 --- a/modules/openxr/openxr_api.cpp +++ b/modules/openxr/openxr_api.cpp @@ -2752,8 +2752,9 @@ void OpenXRAPI::parse_velocities(const XrSpaceVelocity &p_velocity, Vector3 &r_l } bool OpenXRAPI::xr_result(XrResult result, const char *format, Array args) const { - if (XR_SUCCEEDED(result)) + if (XR_SUCCEEDED(result)) { return true; + } char resultString[XR_MAX_RESULT_STRING_SIZE]; xrResultToString(instance, result, resultString); |