mirror of
https://github.com/LizardByte/Sunshine.git
synced 2026-12-01 17:41:12 +00:00
build(linux): generate glad sources at compile time (#4798)
Co-authored-by: Conn O'Griofa <connogriofa@gmail.com>
This commit is contained in:
1 parent
0bbaa2db7c
commit
ea201155f4
28 files changed
+384
-7283
No files matched your search
@@ -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