summaryrefslogtreecommitdiffstats
path: root/modules/openxr/openxr_api.cpp
diff options
context:
space:
mode:
authorThaddeus Crews <repiteo@outlook.com>2024-11-04 21:52:05 -0600
committerThaddeus Crews <repiteo@outlook.com>2024-11-04 21:52:05 -0600
commit2450dee1bc1495daa2b7bdf06c7b3ddfbf8007e1 (patch)
treee5360f6c4d6963e297a342a779e4ceab22722984 /modules/openxr/openxr_api.cpp
parent7d950c15677b6c778294238ea29e00b6355cf931 (diff)
parent2dcfdde18398a6ffcc408d7ae7aa0f2a463f5837 (diff)
downloadredot-engine-2450dee1bc1495daa2b7bdf06c7b3ddfbf8007e1.tar.gz
Merge pull request #93401 from Repiteo/style/clang-tidy-fixes
Style: Apply `clang-tidy` fixes
Diffstat (limited to 'modules/openxr/openxr_api.cpp')
-rw-r--r--modules/openxr/openxr_api.cpp3
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);