Sprinkle some Intel GPU support on Linux

This commit is contained in:
Siana Gearz
2013-11-18 04:22:21 +01:00
parent 749d0eec28
commit a5103a1fc1
7 changed files with 28 additions and 5 deletions

View File

@@ -1219,6 +1219,12 @@ S32 LLViewerTextureList::getMinVideoRamSetting()
// Returns max setting for TextureMemory (in MB)
S32 LLViewerTextureList::getMaxVideoRamSetting(bool get_recommended)
{
#if LL_LINUX
if (gGLManager.mIsIntel && gGLManager.mGLVersion >= 3.f && !gGLManager.mVRAM)
{
gGLManager.mVRAM = 512;
}
#endif
S32 max_texmem;
if (gGLManager.mVRAM != 0)
{