From 67f31f571e52e8bf42e0dbce711da39a1600a40b Mon Sep 17 00:00:00 2001 From: Jens Nolte Date: Thu, 24 Nov 2022 16:13:17 +0100 Subject: Fix GLAD-related build problems on Linux - Use gl.h provided by GLAD in the OpenXR module - Use non-EXT variants of some OpenGL defines - Remove libGL-related code paths --- modules/openxr/openxr_api.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'modules/openxr/openxr_api.cpp') diff --git a/modules/openxr/openxr_api.cpp b/modules/openxr/openxr_api.cpp index b7c95415d0..d6580ebfa6 100644 --- a/modules/openxr/openxr_api.cpp +++ b/modules/openxr/openxr_api.cpp @@ -64,9 +64,8 @@ #include OPENGL_INCLUDE_H #define GL_GLEXT_PROTOTYPES 1 #define GL3_PROTOTYPES 1 -#include -#include -#include +#include "thirdparty/glad/glad/gl.h" +#include "thirdparty/glad/glad/glx.h" #include #endif // X11_ENABLED #endif // GLES_ENABLED -- cgit v1.2.3