diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2022-05-18 02:59:14 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-18 02:59:14 +0200 |
commit | 5631b59e218f4883442382c097eed10ed76b3c8d (patch) | |
tree | 51ba6a94bd428193f8bc844cba67bf9c5f84c5a9 /modules | |
parent | 5c79782c7e21c1ca795ef92bb780e1ec4b52a592 (diff) | |
parent | 95ef3bafcd6d65b1e1e05aaa7e8aaaac2b7a3883 (diff) |
Merge pull request #61140 from Saenoe/fix-openxr-is_extension_supported
Diffstat (limited to 'modules')
-rw-r--r-- | modules/openxr/openxr_api.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/openxr/openxr_api.cpp b/modules/openxr/openxr_api.cpp index 6e94e3b444..f42af0492f 100644 --- a/modules/openxr/openxr_api.cpp +++ b/modules/openxr/openxr_api.cpp @@ -172,7 +172,7 @@ bool OpenXRAPI::load_supported_extensions() { bool OpenXRAPI::is_extension_supported(const String &p_extension) const { for (uint32_t i = 0; i < num_supported_extensions; i++) { - if ((supported_extensions[i].extensionName == p_extension) == 0) { + if (supported_extensions[i].extensionName == p_extension) { #ifdef DEBUG print_line("OpenXR: requested extension", p_extension, "is supported"); #endif |