mirror of
https://github.com/RPCS3/discord-bot.git
synced 2025-01-19 00:52:26 +00:00
fix vulkan driver version for intel and nvidia
This commit is contained in:
parent
0ed01739c1
commit
4839792879
@ -333,7 +333,7 @@ namespace CompatBot.Utils.ResultFormatters
|
||||
else
|
||||
{
|
||||
var major = (ver >> 22) & 0x3ff;
|
||||
var minor = (ver >> 14) & 0xf;
|
||||
var minor = (ver >> 14) & 0xff;
|
||||
var patch = ver & 0x3fff;
|
||||
if (major == 0 && gpuInfo.Contains("Intel", StringComparison.InvariantCultureIgnoreCase))
|
||||
return $"{minor}.{patch}";
|
||||
|
Loading…
x
Reference in New Issue
Block a user