Merge pull request #61140 from Saenoe/fix-openxr-is_extension_supported

This commit is contained in:
Rémi Verschelde 2022-05-18 02:59:14 +02:00 committed by GitHub
commit 5631b59e21
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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