Vulkan: update initialization
Co-authored-by: bylaws <bylaws@users.noreply.github.com>
This commit is contained in:
parent
168c9ee341
commit
2956a33463
15 changed files with 194 additions and 104 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue