소스 검색

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)
 #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