From 0e90f3a7d4ac5a7857a968a6f52ea1205be5f404 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E9=80=9A=E6=B4=B2?= Date: Sun, 28 Jun 2026 17:03:34 +0800 Subject: [PATCH] GPU (Windows): fixes typo --- src/detection/gpu/gpu_windows.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/detection/gpu/gpu_windows.c b/src/detection/gpu/gpu_windows.c index 5787b6d6d..44b68ff31 100644 --- a/src/detection/gpu/gpu_windows.c +++ b/src/detection/gpu/gpu_windows.c @@ -153,7 +153,7 @@ static bool queryPciDeviceInfo(FFGPUResult* gpu, D3DKMT_DEVICE_IDS* outDeviceIds FF_LIST_FOR_EACH (CacheEntry, entry, deviceIdsCache) { if (gpu->deviceId == entry->adapterAddress) { FF_DEBUG("Cache hit for adapter address: %08llX", gpu->deviceId); - if (outDeviceIds->VendorID != -1u) { + if (outDeviceIds->VendorID == -1u) { *outDeviceIds = entry->deviceIds; }