mirror of
https://github.com/lubosz/overte.git
synced 2025-04-23 09:25:31 +02:00
Fixing memory detection on OSX
This commit is contained in:
parent
472d3dc45f
commit
d87c92baee
1 changed files with 1 additions and 0 deletions
|
@ -45,6 +45,7 @@ GPUIdent* GPUIdent::ensureQuery(const QString& vendor, const QString& renderer)
|
|||
CGLDescribeRenderer(rendererInfo, j, kCGLRPVideoMemoryMegabytes, &deviceVRAM);
|
||||
if (deviceVRAM > bestVRAM) {
|
||||
bestVRAM = deviceVRAM;
|
||||
_isValid = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue