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/extensions/openxr_opengl_extension.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'modules/openxr/extensions/openxr_opengl_extension.h') diff --git a/modules/openxr/extensions/openxr_opengl_extension.h b/modules/openxr/extensions/openxr_opengl_extension.h index b666653c8e..473c5157c0 100644 --- a/modules/openxr/extensions/openxr_opengl_extension.h +++ b/modules/openxr/extensions/openxr_opengl_extension.h @@ -59,9 +59,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 -- cgit v1.2.3