mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-07-31 22:44:41 +00:00
Removed unused size checking on GetPhysicalDevices
The method is only being called once so this doesn't make sense. It was some left over of me trying to get this done some other way.
This commit is contained in:
parent
59dcb9263d
commit
7f56183c54
@ -161,7 +161,6 @@ void MainWindow::LoadGameLists() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void MainWindow::GetPhysicalDevices() {
|
void MainWindow::GetPhysicalDevices() {
|
||||||
if (m_physical_devices.size() == 0) {
|
|
||||||
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) {
|
||||||
@ -173,7 +172,6 @@ void MainWindow::GetPhysicalDevices() {
|
|||||||
m_physical_devices.push_back(name);
|
m_physical_devices.push_back(name);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
void MainWindow::CreateConnects() {
|
void MainWindow::CreateConnects() {
|
||||||
connect(this, &MainWindow::WindowResized, this, &MainWindow::HandleResize);
|
connect(this, &MainWindow::WindowResized, this, &MainWindow::HandleResize);
|
||||||
|
Loading…
Reference in New Issue
Block a user