mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 15:29:32 +02:00
Fix GPUIdent name trailing whitespace
This commit is contained in:
parent
c2ebcd1f77
commit
1fa274a527
1 changed files with 1 additions and 1 deletions
|
@ -122,7 +122,7 @@ GPUIdent* GPUIdent::ensureQuery(const QString& vendor, const QString& renderer)
|
||||||
}
|
}
|
||||||
if (count > bestCount) {
|
if (count > bestCount) {
|
||||||
bestCount = count;
|
bestCount = count;
|
||||||
_name = sString;
|
_name = QString(sString).trimmed();
|
||||||
|
|
||||||
hr = spInstance->Get(CComBSTR(_T("DriverVersion")), 0, &var, 0, 0);
|
hr = spInstance->Get(CComBSTR(_T("DriverVersion")), 0, &var, 0, 0);
|
||||||
if (hr == S_OK) {
|
if (hr == S_OK) {
|
||||||
|
|
Loading…
Reference in a new issue