Revert "GPU (Windows): add debug logs for #484"

This reverts commit 1f799d16c9.
This commit is contained in:
李通洲
2023-07-01 20:10:32 +08:00
parent 1f799d16c9
commit e2cef238ec
3 changed files with 0 additions and 22 deletions
-5
View File
@@ -32,20 +32,15 @@ const char* ffGetGPUVendorString(unsigned vendorId)
const char* ffDetectGPU(const FFGPUOptions* options, FFlist* result)
{
fputs("ffDetectGPU start\n", stderr);
if (!options->forceVulkan)
{
const char* error = ffDetectGPUImpl(options, result);
fputs("ffDetectGPU end 1\n", stderr);
if (!error) return NULL;
}
fputs("ffDetectVulkan start\n", stderr);
FFVulkanResult* vulkan = ffDetectVulkan();
fputs("ffDetectVulkan end\n", stderr);
if (vulkan->error) return "GPU detection failed";
ffListDestroy(result);
ffListInitMove(result, &vulkan->gpus);
fputs("ffDetectGPU end 2\n", stderr);
return NULL;
}