Merge pull request #10114 from LunaMoo/minor_ocd

Nitpicking! Correct minor version for non Nvidia.
This commit is contained in:
Henrik Rydgård 2017-11-13 10:47:05 +01:00 committed by GitHub
commit fb60a3e7ea
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -439,6 +439,7 @@ public:
return StringFromFormat("%d.%d.%d.%d (%08x)", major, minor, secondaryBranch, tertiaryBranch, props.driverVersion);
} else {
uint32_t branch = props.driverVersion & 0xfff;
minor = (props.driverVersion >> 12) & 0x0ff;
return StringFromFormat("%d.%d.%d (%08x)", major, minor, branch, props.driverVersion);
}
}