mirror of
https://github.com/godotengine/godot.git
synced 2025-11-01 06:01:14 +00:00
fix OpenXRAPI::is_extension_supported returning opposite result
This commit is contained in:
parent
5c79782c7e
commit
95ef3bafcd
1 changed files with 1 additions and 1 deletions
|
|
@ -172,7 +172,7 @@ bool OpenXRAPI::load_supported_extensions() {
|
||||||
|
|
||||||
bool OpenXRAPI::is_extension_supported(const String &p_extension) const {
|
bool OpenXRAPI::is_extension_supported(const String &p_extension) const {
|
||||||
for (uint32_t i = 0; i < num_supported_extensions; i++) {
|
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
|
#ifdef DEBUG
|
||||||
print_line("OpenXR: requested extension", p_extension, "is supported");
|
print_line("OpenXR: requested extension", p_extension, "is supported");
|
||||||
#endif
|
#endif
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue