mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-07-31 14:35:19 +00:00
Fix formatting
This commit is contained in:
parent
f14dbf6436
commit
c9b96179ef
@ -161,16 +161,16 @@ void MainWindow::LoadGameLists() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void MainWindow::GetPhysicalDevices() {
|
void MainWindow::GetPhysicalDevices() {
|
||||||
Vulkan::Instance instance(false, false);
|
Vulkan::Instance instance(false, false);
|
||||||
auto physical_devices = instance.GetPhysicalDevices();
|
auto physical_devices = instance.GetPhysicalDevices();
|
||||||
for (const vk::PhysicalDevice physical_device : physical_devices) {
|
for (const vk::PhysicalDevice physical_device : physical_devices) {
|
||||||
auto prop = physical_device.getProperties();
|
auto prop = physical_device.getProperties();
|
||||||
QString name = QString::fromUtf8(prop.deviceName, -1);
|
QString name = QString::fromUtf8(prop.deviceName, -1);
|
||||||
if (prop.apiVersion < Vulkan::TargetVulkanApiVersion) {
|
if (prop.apiVersion < Vulkan::TargetVulkanApiVersion) {
|
||||||
name += " * Unsupported Vulkan Version";
|
name += " * Unsupported Vulkan Version";
|
||||||
}
|
}
|
||||||
m_physical_devices.push_back(name);
|
m_physical_devices.push_back(name);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void MainWindow::CreateConnects() {
|
void MainWindow::CreateConnects() {
|
||||||
|
Loading…
Reference in New Issue
Block a user