diff options
Diffstat (limited to 'modules/openxr/openxr_api.cpp')
-rw-r--r-- | modules/openxr/openxr_api.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/modules/openxr/openxr_api.cpp b/modules/openxr/openxr_api.cpp index 32abc0a1c7..972b6539e3 100644 --- a/modules/openxr/openxr_api.cpp +++ b/modules/openxr/openxr_api.cpp @@ -59,7 +59,6 @@ #define XR_USE_GRAPHICS_API_OPENGL #endif // ANDROID_ENABLED #ifdef X11_ENABLED -#include OPENGL_INCLUDE_H #define GL_GLEXT_PROTOTYPES 1 #define GL3_PROTOTYPES 1 #include "thirdparty/glad/glad/gl.h" @@ -2921,8 +2920,8 @@ bool OpenXRAPI::is_environment_blend_mode_supported(XrEnvironmentBlendMode p_ble } bool OpenXRAPI::set_environment_blend_mode(XrEnvironmentBlendMode p_blend_mode) { - // We allow setting this when not initialised and will check if it is supported when initialising. - // After OpenXR is initialised we verify we're setting a supported blend mode. + // We allow setting this when not initialized and will check if it is supported when initializing. + // After OpenXR is initialized we verify we're setting a supported blend mode. if (!is_initialized() || is_environment_blend_mode_supported(p_blend_mode)) { environment_blend_mode = p_blend_mode; return true; |