diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2022-10-06 08:57:12 +0200 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2022-10-06 08:57:12 +0200 |
commit | 74eade929c3f03dfd07e5ab9e2e10302a15de491 (patch) | |
tree | 9295f3a48ffbb2ccfc6fea5b9c95b45c2a141dee | |
parent | e727606f7b1ddaa6771407f2d988e012592e0d1a (diff) | |
parent | c6ba626af40835fb348d50d12bf87b83ff50ccf1 (diff) |
Merge pull request #66957 from BastiaanOlij/fix_error_typo_opengl
Fixing an incorrect error message in OpenXR
-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; |