MIN_MEM_FOR_NON_TEXTURE setting doesn't work well with new math. Lower signifigantly.

This commit is contained in:
Shyotl
2019-07-18 01:33:47 -05:00
parent 3bc4d6fd63
commit 225d174ec6
2 changed files with 3 additions and 2 deletions

View File

@@ -546,6 +546,7 @@ BOOL LLDXHardware::getInfo(BOOL vram_only, S32Megabytes system_ram)
mVRAM -= ((S32)system_ram/2) + 1; // Ignore shared memory pool.
if (mVRAM <= 0)
{
LL_INFOS("AppInit") << "No dedicated VRAM. Using system memory instead." << LL_ENDL;
mVRAM = (S32)system_ram / 2; // Integrated graphics perhaps? Use half system ram.
}
LL_INFOS("AppInit") << "VRAM Detected: " << mVRAM << " DX9 string: " << ram_str << LL_ENDL;