build(linux): generate glad sources at compile time (#4798)
Co-authored-by: Conn O'Griofa <connogriofa@gmail.com>
This commit is contained in:
@@ -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>();
|
||||
|
||||
Reference in New Issue
Block a user