diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2022-11-29 23:45:38 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-29 23:45:38 +0100 |
commit | d75a6b5a6d74de268d61efe178dfcfc13c38450d (patch) | |
tree | c95866d528e2671e48a62eaa7c60ec682f4cbde0 /modules/openxr/openxr_api.cpp | |
parent | cdd99e9bec16db60efd894a06826f6fea139d00d (diff) | |
parent | 9141984e7ebc0bdbdd474cc6ced63e388f95a686 (diff) |
Merge pull request #69355 from clayjohn/android-GLES3
Enable GLES3 on Android
Diffstat (limited to 'modules/openxr/openxr_api.cpp')
-rw-r--r-- | modules/openxr/openxr_api.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/openxr/openxr_api.cpp b/modules/openxr/openxr_api.cpp index d6580ebfa6..59d3865acd 100644 --- a/modules/openxr/openxr_api.cpp +++ b/modules/openxr/openxr_api.cpp @@ -51,7 +51,7 @@ #define XR_USE_GRAPHICS_API_VULKAN #endif #ifdef GLES3_ENABLED -#ifdef ANDROID +#ifdef ANDROID_ENABLED #define XR_USE_GRAPHICS_API_OPENGL_ES #include <EGL/egl.h> #include <EGL/eglext.h> @@ -59,7 +59,7 @@ #include <GLES3/gl3ext.h> #else #define XR_USE_GRAPHICS_API_OPENGL -#endif // ANDROID +#endif // ANDROID_ENABLED #ifdef X11_ENABLED #include OPENGL_INCLUDE_H #define GL_GLEXT_PROTOTYPES 1 |