Fix EGL build when using EGL 1.4 or earlier headers

This commit is contained in:
Cameron Gutman 2022-04-21 21:13:39 -05:00
parent a521093731
commit ef23a80b16

View File

@ -21,6 +21,7 @@ extern "C" {
#ifndef EGL_VERSION_1_5
typedef intptr_t EGLAttrib;
typedef void *EGLImage;
typedef khronos_utime_nanoseconds_t EGLTime;
typedef void *EGLSync;
#define EGL_NO_SYNC ((EGLSync)0)