Merge pull request #66957 from BastiaanOlij/fix_error_typo_opengl

Fixing an incorrect error message in OpenXR
This commit is contained in:
Rémi Verschelde 2022-10-06 08:57:12 +02:00
commit 74eade929c
1 changed files with 1 additions and 1 deletions

View File

@ -245,7 +245,7 @@ bool OpenXRAPI::create_instance() {
if (!is_extension_supported(requested_extension.key)) { if (!is_extension_supported(requested_extension.key)) {
if (requested_extension.value == nullptr) { if (requested_extension.value == nullptr) {
// nullptr means this is a manditory extension so we fail // 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 { } else {
// set this extension as not supported // set this extension as not supported
*requested_extension.value = false; *requested_extension.value = false;