Trim gpuName from pci.ids

This commit is contained in:
FlightlessMango 2020-06-11 07:58:19 +02:00
parent 572ba69e3e
commit 4a5e05c979

View File

@ -2453,6 +2453,7 @@ void get_device_name(int32_t vendorID, int32_t deviceID, struct swapchain_stats&
desc.erase(remove(desc.begin(), desc.end(), c), desc.end()); desc.erase(remove(desc.begin(), desc.end(), c), desc.end());
} }
sw_stats.gpuName = desc; sw_stats.gpuName = desc;
trim(sw_stats.gpuName);
} }
static VkResult overlay_CreateSwapchainKHR( static VkResult overlay_CreateSwapchainKHR(