From 2d0cd5f2cd9c5da666c8b0e5a456bb3530902736 Mon Sep 17 00:00:00 2001 From: bruvzg <7645683+bruvzg@users.noreply.github.com> Date: Thu, 26 Oct 2023 12:15:59 +0300 Subject: [PATCH] Fix macOS and Windows build with statically linked ANGLE/EGL. --- drivers/egl/egl_manager.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/egl/egl_manager.cpp b/drivers/egl/egl_manager.cpp index 4c9d6109354..c92cfea9af1 100644 --- a/drivers/egl/egl_manager.cpp +++ b/drivers/egl/egl_manager.cpp @@ -34,6 +34,7 @@ #if defined(EGL_STATIC) #define KHRONOS_STATIC 1 +#define GLAD_EGL_VERSION_1_5 true extern "C" EGLAPI void EGLAPIENTRY eglSetBlobCacheFuncsANDROID(EGLDisplay dpy, EGLSetBlobFuncANDROID set, EGLGetBlobFuncANDROID get); #undef KHRONOS_STATIC #endif