Merge pull request #343 from MSuih/master

Improve Nvidia GPU detection
This commit is contained in:
Ilya 2019-06-21 20:31:54 +05:00 committed by GitHub
commit 35e3020010
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -582,7 +582,8 @@ namespace CompatBot.Utils.ResultFormatters
{
return gpuInfo.Contains("GeForce", StringComparison.InvariantCultureIgnoreCase) ||
gpuInfo.Contains("nVidia", StringComparison.InvariantCultureIgnoreCase) ||
gpuInfo.Contains("Quadro", StringComparison.InvariantCultureIgnoreCase);
gpuInfo.Contains("Quadro", StringComparison.InvariantCultureIgnoreCase) ||
gpuInfo.Contains("GTX", StringComparison.InvariantCultureIgnoreCase);
}
private static string GetTimeFormat(long microseconds)