瀏覽代碼

Merge pull request #83988 from bruvzg/egl_static

Fix macOS and Windows build with statically linked ANGLE/EGL.
Rémi Verschelde 1 年之前
父節點
當前提交
46cb7f94f7
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      drivers/egl/egl_manager.cpp

+ 1 - 0
drivers/egl/egl_manager.cpp

@@ -34,6 +34,7 @@
 
 
 #if defined(EGL_STATIC)
 #if defined(EGL_STATIC)
 #define KHRONOS_STATIC 1
 #define KHRONOS_STATIC 1
+#define GLAD_EGL_VERSION_1_5 true
 extern "C" EGLAPI void EGLAPIENTRY eglSetBlobCacheFuncsANDROID(EGLDisplay dpy, EGLSetBlobFuncANDROID set, EGLGetBlobFuncANDROID get);
 extern "C" EGLAPI void EGLAPIENTRY eglSetBlobCacheFuncsANDROID(EGLDisplay dpy, EGLSetBlobFuncANDROID set, EGLGetBlobFuncANDROID get);
 #undef KHRONOS_STATIC
 #undef KHRONOS_STATIC
 #endif
 #endif