summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorderammo <817160+derammo@users.noreply.github.com>2022-05-11 11:25:55 -0400
committerderammo <817160+derammo@users.noreply.github.com>2022-05-11 11:25:55 -0400
commit0571148a4b332fa91d8f55dc370d392809214d14 (patch)
treeb4fd6d02be9c6cd508f320ea9e53b724715dc5f4
parentb5689309f629dc8a3a32ea29fb8a5ebfee272179 (diff)
corrected conditional compile of OpenXR with/without opengl3 driver
-rw-r--r--modules/openxr/openxr_api.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/openxr/openxr_api.cpp b/modules/openxr/openxr_api.cpp
index 2e9be48f01..d0f67b7f5d 100644
--- a/modules/openxr/openxr_api.cpp
+++ b/modules/openxr/openxr_api.cpp
@@ -1001,7 +1001,7 @@ bool OpenXRAPI::initialize(const String &p_rendering_driver) {
ERR_FAIL_V(false);
#endif
} else if (p_rendering_driver == "opengl3") {
-#ifdef OPENGL3_ENABLED
+#ifdef GLES3_ENABLED
// graphics_extension = memnew(OpenXROpenGLExtension(this));
// register_extension_wrapper(graphics_extension);
ERR_FAIL_V_MSG(false, "OpenXR: OpenGL is not supported at this time.");