diff options
author | Bastiaan Olij <mux213@gmail.com> | 2022-10-06 11:15:57 +1100 |
---|---|---|
committer | Bastiaan Olij <mux213@gmail.com> | 2022-10-06 11:15:57 +1100 |
commit | c6ba626af40835fb348d50d12bf87b83ff50ccf1 (patch) | |
tree | acfc20252b35fff5ada527d6e35deefe9680b640 | |
parent | ea9bb98f26be8212245f6ff796617901a8b9f3f6 (diff) |
Fixing an incorrect error message in OpenXR reporting missing OpenGL support
-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 8a69072793..01107ebcc9 100644 --- a/modules/openxr/openxr_api.cpp +++ b/modules/openxr/openxr_api.cpp @@ -245,7 +245,7 @@ bool OpenXRAPI::create_instance() { if (!is_extension_supported(requested_extension.key)) { if (requested_extension.value == nullptr) { // nullptr means this is a manditory extension so we fail - ERR_FAIL_V_MSG(false, "OpenXR: OpenXR Runtime does not support OpenGL extension!"); + ERR_FAIL_V_MSG(false, String("OpenXR: OpenXR Runtime does not support ") + requested_extension.key + String(" extension!")); } else { // set this extension as not supported *requested_extension.value = false; |