Fixing memory detection on OSX

This commit is contained in:
Bradley Austin Davis 2016-04-22 16:30:36 -07:00
parent 472d3dc45f
commit d87c92baee

View file

@ -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;
}
}
}