Vulkan: set gpu->coreCount

This commit is contained in:
Carter Li committed 2022-09-17 01:49:00 +08:00
1 parent bb3689b348
commit 3d4ce07892
1 file changed
+1
+1
View File
@@ -191,6 +191,7 @@ static const char* detectVulkan(const FFinstance* instance, FFVulkanResult* resu
//No way to detect those using vulkan
ffStrbufInit(&gpu->vendor);
ffStrbufInit(&gpu->driver);
gpu->coreCount = FF_GPU_CORE_COUNT_UNSET;
gpu->temperature = FF_GPU_TEMP_UNSET;
}