generated from hertog/godot-module-template
Initial commit
This commit is contained in:
commit
65227bf3a5
12416 changed files with 6001067 additions and 0 deletions
28
engine/thirdparty/openxr/patches/0001-glad-egl.patch
vendored
Normal file
28
engine/thirdparty/openxr/patches/0001-glad-egl.patch
vendored
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
diff --git a/thirdparty/openxr/src/common/xr_dependencies.h b/thirdparty/openxr/src/common/xr_dependencies.h
|
||||
index 55d93bfbac..a192a2ec6d 100644
|
||||
--- a/thirdparty/openxr/src/common/xr_dependencies.h
|
||||
+++ b/thirdparty/openxr/src/common/xr_dependencies.h
|
||||
@@ -65,7 +65,11 @@
|
||||
#endif // XR_USE_GRAPHICS_API_OPENGL
|
||||
|
||||
#ifdef XR_USE_GRAPHICS_API_OPENGL_ES
|
||||
+#ifdef GLAD_ENABLED
|
||||
+#include "thirdparty/glad/glad/egl.h"
|
||||
+#else
|
||||
#include <EGL/egl.h>
|
||||
+#endif
|
||||
#endif // XR_USE_GRAPHICS_API_OPENGL_ES
|
||||
|
||||
#ifdef XR_USE_GRAPHICS_API_VULKAN
|
||||
@@ -77,7 +81,11 @@
|
||||
#endif // XR_USE_PLATFORM_WAYLAND
|
||||
|
||||
#ifdef XR_USE_PLATFORM_EGL
|
||||
+#ifdef GLAD_ENABLED
|
||||
+#include "thirdparty/glad/glad/egl.h"
|
||||
+#else
|
||||
#include <EGL/egl.h>
|
||||
+#endif
|
||||
#endif // XR_USE_PLATFORM_EGL
|
||||
|
||||
#if defined(XR_USE_PLATFORM_XLIB) || defined(XR_USE_PLATFORM_XCB)
|
||||
Loading…
Add table
Add a link
Reference in a new issue