From aebad7ccbf5cca81df56cd3cd670813253264c14 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Costa?= Date: Mon, 4 May 2026 22:21:11 +0200 Subject: [PATCH] fix(glad): fix compilation errors by using relative includes (#10001) --- src/drivers/opengles/glad/include/EGL/eglplatform.h | 2 +- src/drivers/opengles/glad/include/glad/egl.h | 4 ++-- src/drivers/opengles/glad/include/glad/gl.h | 2 +- src/drivers/opengles/glad/include/glad/gles2.h | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/drivers/opengles/glad/include/EGL/eglplatform.h b/src/drivers/opengles/glad/include/EGL/eglplatform.h index 1ca68c57f2..dd8ded6aef 100644 --- a/src/drivers/opengles/glad/include/EGL/eglplatform.h +++ b/src/drivers/opengles/glad/include/EGL/eglplatform.h @@ -18,7 +18,7 @@ * https://www.github.com/KhronosGroup/EGL-Registry/ */ -#include +#include "../KHR/khrplatform.h" /* Macros used in EGL function prototype declarations. * diff --git a/src/drivers/opengles/glad/include/glad/egl.h b/src/drivers/opengles/glad/include/glad/egl.h index b871c7954c..74825c6bd9 100644 --- a/src/drivers/opengles/glad/include/glad/egl.h +++ b/src/drivers/opengles/glad/include/glad/egl.h @@ -378,8 +378,8 @@ typedef void (*GLADpostcallback)(void *ret, const char *name, GLADapiproc apipro #define EGL_YUV_NARROW_RANGE_EXT 0x3283 -#include -#include +#include "../KHR/khrplatform.h" +#include "../EGL/eglplatform.h" diff --git a/src/drivers/opengles/glad/include/glad/gl.h b/src/drivers/opengles/glad/include/glad/gl.h index 1ac40abbcf..5faf2f0a4a 100644 --- a/src/drivers/opengles/glad/include/glad/gl.h +++ b/src/drivers/opengles/glad/include/glad/gl.h @@ -2251,7 +2251,7 @@ typedef void (*GLADpostcallback)(void *ret, const char *name, GLADapiproc apipro #define GL_ZOOM_Y 0x0D17 -#include +#include "../KHR/khrplatform.h" typedef unsigned int GLenum; typedef unsigned char GLboolean; typedef unsigned int GLbitfield; diff --git a/src/drivers/opengles/glad/include/glad/gles2.h b/src/drivers/opengles/glad/include/glad/gles2.h index 00fdbf406a..d54f8715d0 100644 --- a/src/drivers/opengles/glad/include/glad/gles2.h +++ b/src/drivers/opengles/glad/include/glad/gles2.h @@ -526,7 +526,7 @@ typedef void (*GLADpostcallback)(void *ret, const char *name, GLADapiproc apipro #define GL_ZERO 0 -#include +#include "../KHR/khrplatform.h" typedef unsigned int GLenum; typedef unsigned char GLboolean; typedef unsigned int GLbitfield;