summaryrefslogtreecommitdiff
path: root/indra/newview/pipeline.cpp
diff options
context:
space:
mode:
authorGraham Linden <graham@lindenlab.com>2019-08-22 10:11:59 -0700
committerGraham Linden <graham@lindenlab.com>2019-08-22 10:11:59 -0700
commit01e6839f21becca6ade3fe723cebc26a7f10de8e (patch)
tree3cdada832eed8bd2d84fa96c051359207be2951a /indra/newview/pipeline.cpp
parent98d926afd7fba39cac373a89705851ad8bb2258e (diff)
SL-11779
Make changing shadow res scale not instantly drop/realloc buffers but wait until display gets to it.
Diffstat (limited to 'indra/newview/pipeline.cpp')
-rw-r--r--indra/newview/pipeline.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/indra/newview/pipeline.cpp b/indra/newview/pipeline.cpp
index 448b65272b..9b6bf9bfc3 100644
--- a/indra/newview/pipeline.cpp
+++ b/indra/newview/pipeline.cpp
@@ -735,6 +735,11 @@ void LLPipeline::throttleNewMemoryAllocation(bool disable)
}
}
+void LLPipeline::requestResizeScreenTexture()
+{
+ gResizeScreenTexture = TRUE;
+}
+
void LLPipeline::resizeScreenTexture()
{
LL_RECORD_BLOCK_TIME(FTM_RESIZE_SCREEN_TEXTURE);