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

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

No files matched your search

+3 -2
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>();