diff options
author | Dave Houlton <euclid@lindenlab.com> | 2020-10-21 16:26:53 +0000 |
---|---|---|
committer | Dave Houlton <euclid@lindenlab.com> | 2020-10-21 16:26:53 +0000 |
commit | d47114e5cb39b7e5aa5308b705cd1a77727be7f3 (patch) | |
tree | 892b2610e95ab23316d086941f9b3113569a5ee8 /indra/newview/llviewerwindow.cpp | |
parent | 1d25203cbf91bdf390ef9e9ae7c2b5d1b00bb7bb (diff) | |
parent | d12305496f73e0b55e8e1ec327a2567ca713da22 (diff) |
Merged in euclid-mDebugGPU (pull request #348)
Remove obsolete mDebugGPU variable and dependent code
Approved-by: Andrey Kleshchev
Approved-by: Michael Pohoreski
Diffstat (limited to 'indra/newview/llviewerwindow.cpp')
-rw-r--r-- | indra/newview/llviewerwindow.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/indra/newview/llviewerwindow.cpp b/indra/newview/llviewerwindow.cpp index da0f98851d..053e18d627 100644 --- a/indra/newview/llviewerwindow.cpp +++ b/indra/newview/llviewerwindow.cpp @@ -4789,10 +4789,6 @@ BOOL LLViewerWindow::rawSnapshot(LLImageRaw *raw, S32 image_width, S32 image_hei return FALSE; } //check if there is enough memory for the snapshot image - if(LLPipeline::sMemAllocationThrottled) - { - return FALSE ; //snapshot taking is disabled due to memory restriction. - } if(image_width * image_height > (1 << 22)) //if snapshot image is larger than 2K by 2K { if(!LLMemory::tryToAlloc(NULL, image_width * image_height * 3)) |