Skip to content

Commit 0e90f3a

Browse files
committed
GPU (Windows): fixes typo
1 parent 1a663e7 commit 0e90f3a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/detection/gpu/gpu_windows.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ static bool queryPciDeviceInfo(FFGPUResult* gpu, D3DKMT_DEVICE_IDS* outDeviceIds
153153
FF_LIST_FOR_EACH (CacheEntry, entry, deviceIdsCache) {
154154
if (gpu->deviceId == entry->adapterAddress) {
155155
FF_DEBUG("Cache hit for adapter address: %08llX", gpu->deviceId);
156-
if (outDeviceIds->VendorID != -1u) {
156+
if (outDeviceIds->VendorID == -1u) {
157157
*outDeviceIds = entry->deviceIds;
158158
}
159159

0 commit comments

Comments
 (0)