GPU: be more careful to concat strings

This commit is contained in:
李通洲
2023-03-25 14:19:58 +08:00
parent ca05e2e905
commit 56477f5ea6
5 changed files with 26 additions and 30 deletions
-1
View File
@@ -185,7 +185,6 @@ static const char* detectVulkan(const FFinstance* instance, FFVulkanResult* resu
gpu->type = FF_GPU_TYPE_DISCRETE;
else
gpu->type = FF_GPU_TYPE_INTEGRATED;
gpu->id = physicalDeviceProperties.properties.deviceID;
ffStrbufInitS(&gpu->vendor, ffGetGPUVendorString(physicalDeviceProperties.properties.vendorID));
ffStrbufInitS(&gpu->driver, driverProperties.driverInfo);