Explorar el Código

Merge pull request #83988 from bruvzg/egl_static

Fix macOS and Windows build with statically linked ANGLE/EGL.
Rémi Verschelde hace 1 año
padre
commit
46cb7f94f7
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  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