diff options
author | Dave Parks <davep@lindenlab.com> | 2022-02-23 19:53:49 -0600 |
---|---|---|
committer | Dave Parks <davep@lindenlab.com> | 2022-02-23 19:53:49 -0600 |
commit | 4f9fa5e817c44d2ba0bc5558955085f48b280861 (patch) | |
tree | d236c0ad98f1cd6bff4e15afd268f678657dc672 | |
parent | fc0b238654091c6090d5d85ceda51fbc6cb71eaa (diff) |
Fix for some GPUs thinking they have 0 available vram.
-rw-r--r-- | indra/llrender/llimagegl.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/llrender/llimagegl.cpp b/indra/llrender/llimagegl.cpp index 63f9a67e2c..230d2b3dd0 100644 --- a/indra/llrender/llimagegl.cpp +++ b/indra/llrender/llimagegl.cpp @@ -2372,7 +2372,7 @@ void LLImageGL::checkActiveThread() glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MAX_LEVEL, nummips); */ -std::atomic<S32> LLImageGLThread::sFreeVRAMMegabytes; +std::atomic<S32> LLImageGLThread::sFreeVRAMMegabytes = 4096; //if free vram is unknown, default to 4GB LLImageGLThread::LLImageGLThread(LLWindow* window) // We want exactly one thread, but a very large capacity: we never want |