diff --git a/indra/llrender/llgl.cpp b/indra/llrender/llgl.cpp index ff87f0407e..e1b0642953 100644 --- a/indra/llrender/llgl.cpp +++ b/indra/llrender/llgl.cpp @@ -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