Skip to content

Commit

Permalink
Merge pull request godotengine#61140 from Saenoe/fix-openxr-is_extens…
Browse files Browse the repository at this point in the history
…ion_supported
  • Loading branch information
akien-mga authored May 18, 2022
2 parents 5c79782 + 95ef3ba commit 5631b59
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/openxr/openxr_api.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 5631b59

Please sign in to comment.