GPU (Windows): don't assume revId is not 0

This commit is contained in:
李通洲
2024-06-23 08:57:06 +08:00
parent 88e075ad9d
commit 42b84161d9
+1 -1
View File
@@ -144,7 +144,7 @@ const char* ffDetectGPUImpl(FF_MAYBE_UNUSED const FFGPUOptions* options, FFlist*
if (getDriverSpecificDetectionFn(gpu->vendor.chars, &detectFn, &dllName) && (options->temp || options->driverSpecific))
{
if (vendorId && deviceId && subSystemId && revId)
if (vendorId && deviceId && subSystemId)
{
detectFn(
&(FFGpuDriverCondition) {