Added macOS surface in bootmanager

This commit is contained in:
matthieu.ranger
2020-06-26 11:43:38 -04:00
parent 7763f62f93
commit 0079a09305

View File

@@ -265,6 +265,8 @@ static Core::Frontend::WindowSystemType GetWindowSystemType() {
return Core::Frontend::WindowSystemType::X11;
else if (platform_name == QStringLiteral("wayland"))
return Core::Frontend::WindowSystemType::Wayland;
else if (platform_name == QStringLiteral("cocoa"))
return Core::Frontend::WindowSystemType::MacOS;
LOG_CRITICAL(Frontend, "Unknown Qt platform!");
return Core::Frontend::WindowSystemType::Windows;