mirror of
https://github.com/overte-org/overte.git
synced 2025-04-14 07:47:30 +02:00
Merge pull request #15809 from samcake/nut
BUGZ-776 : Detect AMD gpu on more than one possible token
This commit is contained in:
commit
4cc6eae478
1 changed files with 1 additions and 1 deletions
|
@ -121,7 +121,7 @@ const char* Instance::findGPUVendorInDescription(const std::string& description)
|
||||||
return keys::gpu::vendor_Intel;
|
return keys::gpu::vendor_Intel;
|
||||||
}
|
}
|
||||||
// AMD gpu
|
// AMD gpu
|
||||||
else if (description.find(keys::gpu::vendor_AMD) != std::string::npos) {
|
else if ((description.find(keys::gpu::vendor_AMD) != std::string::npos) || (description.find("Radeon") != std::string::npos)) {
|
||||||
return keys::gpu::vendor_AMD;
|
return keys::gpu::vendor_AMD;
|
||||||
}
|
}
|
||||||
// NVIDIA gpu
|
// NVIDIA gpu
|
||||||
|
|
Loading…
Reference in a new issue