Vulkan: update initialization

Co-authored-by: bylaws <bylaws@users.noreply.github.com>
This commit is contained in:
Liam
2022-11-27 14:58:28 -05:00
co-authored by bylaws
parent 168c9ee341
commit 2956a33463
15 changed files with 194 additions and 104 deletions
+4
View File
@@ -265,6 +265,10 @@ 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::Cocoa;
else if (platform_name == QStringLiteral("android"))
return Core::Frontend::WindowSystemType::Android;
LOG_CRITICAL(Frontend, "Unknown Qt platform!");
return Core::Frontend::WindowSystemType::Windows;