summaryrefslogtreecommitdiff
path: root/indra/newview/llviewerwindow.cpp
diff options
context:
space:
mode:
authorDave Houlton <euclid@lindenlab.com>2020-10-19 13:46:04 -0600
committerDave Houlton <euclid@lindenlab.com>2020-10-19 17:21:56 -0600
commitd12305496f73e0b55e8e1ec327a2567ca713da22 (patch)
tree892b2610e95ab23316d086941f9b3113569a5ee8 /indra/newview/llviewerwindow.cpp
parenta6058b0e9f22080c7aa28e33e1061e23d671d166 (diff)
DRTVWR-510 clean up obsolete downstream-from-mDebugGPU code
Diffstat (limited to 'indra/newview/llviewerwindow.cpp')
-rw-r--r--indra/newview/llviewerwindow.cpp4
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))