mirror of
https://github.com/lvgl/lvgl.git
synced 2026-06-02 01:18:04 +08:00
fix(glad): fix compilation errors by using relative includes (#10001)
This commit is contained in:
@@ -18,7 +18,7 @@
|
|||||||
* https://www.github.com/KhronosGroup/EGL-Registry/
|
* https://www.github.com/KhronosGroup/EGL-Registry/
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <KHR/khrplatform.h>
|
#include "../KHR/khrplatform.h"
|
||||||
|
|
||||||
/* Macros used in EGL function prototype declarations.
|
/* Macros used in EGL function prototype declarations.
|
||||||
*
|
*
|
||||||
|
|||||||
@@ -378,8 +378,8 @@ typedef void (*GLADpostcallback)(void *ret, const char *name, GLADapiproc apipro
|
|||||||
#define EGL_YUV_NARROW_RANGE_EXT 0x3283
|
#define EGL_YUV_NARROW_RANGE_EXT 0x3283
|
||||||
|
|
||||||
|
|
||||||
#include <KHR/khrplatform.h>
|
#include "../KHR/khrplatform.h"
|
||||||
#include <EGL/eglplatform.h>
|
#include "../EGL/eglplatform.h"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -2251,7 +2251,7 @@ typedef void (*GLADpostcallback)(void *ret, const char *name, GLADapiproc apipro
|
|||||||
#define GL_ZOOM_Y 0x0D17
|
#define GL_ZOOM_Y 0x0D17
|
||||||
|
|
||||||
|
|
||||||
#include <KHR/khrplatform.h>
|
#include "../KHR/khrplatform.h"
|
||||||
typedef unsigned int GLenum;
|
typedef unsigned int GLenum;
|
||||||
typedef unsigned char GLboolean;
|
typedef unsigned char GLboolean;
|
||||||
typedef unsigned int GLbitfield;
|
typedef unsigned int GLbitfield;
|
||||||
|
|||||||
@@ -526,7 +526,7 @@ typedef void (*GLADpostcallback)(void *ret, const char *name, GLADapiproc apipro
|
|||||||
#define GL_ZERO 0
|
#define GL_ZERO 0
|
||||||
|
|
||||||
|
|
||||||
#include <KHR/khrplatform.h>
|
#include "../KHR/khrplatform.h"
|
||||||
typedef unsigned int GLenum;
|
typedef unsigned int GLenum;
|
||||||
typedef unsigned char GLboolean;
|
typedef unsigned char GLboolean;
|
||||||
typedef unsigned int GLbitfield;
|
typedef unsigned int GLbitfield;
|
||||||
|
|||||||
Reference in New Issue
Block a user