mirror of
https://github.com/fastfetch-cli/fastfetch.git
synced 2026-10-30 09:33:39 +01:00
Revert "GPU (Windows): add debug logs for #484"
This reverts commit 1f799d16c9.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user