forked from Dynamitos/Seele
Fixing glfw package breaking changes
This commit is contained in:
1 parent
87390db80d
commit
ace1554020
6 files changed
+20
-14
No files matched your search
@@ -688,6 +688,11 @@ Array<const char*> Graphics::getRequiredExtensions() {
|
||||
}
|
||||
|
||||
void Graphics::initInstance(GraphicsInitializer initInfo) {
|
||||
#if defined(GLFW_WAYLAND_LIBDECOR) && defined(GLFW_WAYLAND_DISABLE_LIBDECOR)
|
||||
// Work around libdecor runtime regressions on some Wayland stacks.
|
||||
glfwInitHint(GLFW_WAYLAND_LIBDECOR, GLFW_WAYLAND_DISABLE_LIBDECOR);
|
||||
#endif
|
||||
|
||||
if (!glfwInit()) {
|
||||
throw std::runtime_error("Failed to initialize GLFW");
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user