Looks like this only exists on Windows
parent
100dfdc736
commit
bb4385bf0f
|
|
@ -1249,6 +1249,7 @@ bool LLGLManager::initGL()
|
|||
LL_INFOS("RenderInit") << "VRAM Detected (NVXMemInfo):" << mVRAM << LL_ENDL;
|
||||
}
|
||||
|
||||
#ifdef LL_WINDOWS
|
||||
if (mHasAMDAssociations && mVRAM == 0)
|
||||
{
|
||||
GLuint gl_gpus_count = wglGetGPUIDsAMD(0, 0);
|
||||
|
|
@ -1274,6 +1275,7 @@ bool LLGLManager::initGL()
|
|||
}
|
||||
LL_INFOS("RenderInit") << "VRAM Detected (AMDAssociations):" << mVRAM << LL_ENDL;
|
||||
}
|
||||
#endif
|
||||
|
||||
if (mHasATIMemInfo && mVRAM == 0)
|
||||
{ //ask the gl how much vram is free at startup and attempt to use no more than half of that
|
||||
|
|
|
|||
Loading…
Reference in New Issue