build(linux): generate glad sources at compile time (#4798)

Co-authored-by: Conn O'Griofa <connogriofa@gmail.com>
This commit is contained in:
David Lane
2026-03-15 21:21:41 -04:00
committed by GitHub
parent 0bbaa2db7c
commit ea201155f4
28 changed files with 384 additions and 7283 deletions

View File

@@ -1074,8 +1074,9 @@ namespace platf {
return nullptr;
}
if (!gladLoaderLoadEGL(EGL_NO_DISPLAY) || !eglGetPlatformDisplay) {
BOOST_LOG(warning) << "Couldn't load EGL library"sv;
if (!gladLoaderLoadEGL(NULL)) {
BOOST_LOG(error) << "Failed to load EGL library symbols"sv;
return nullptr;
}
return std::make_unique<deinit_t>();