mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-04-21 12:04:45 +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
1 changed files with 0 additions and 2 deletions
|
@ -161,7 +161,6 @@ void MainWindow::LoadGameLists() {
|
|||
}
|
||||
|
||||
void MainWindow::GetPhysicalDevices() {
|
||||
if (m_physical_devices.size() == 0) {
|
||||
Vulkan::Instance instance(false, false);
|
||||
auto physical_devices = instance.GetPhysicalDevices();
|
||||
for (const vk::PhysicalDevice physical_device : physical_devices) {
|
||||
|
@ -173,7 +172,6 @@ void MainWindow::GetPhysicalDevices() {
|
|||
m_physical_devices.push_back(name);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
void MainWindow::CreateConnects() {
|
||||
connect(this, &MainWindow::WindowResized, this, &MainWindow::HandleResize);
|
||||
|
|
Loading…
Add table
Reference in a new issue