summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrey Kleshchev <andreykproductengine@lindenlab.com>2024-01-29 21:21:08 +0200
committerAndrey Kleshchev <117672381+akleshchev@users.noreply.github.com>2024-01-30 19:54:35 +0200
commita5a4fd0c1026a994dd81ea6b703bcabcd8ed9501 (patch)
treedba073cf9b16dc5b1bba4082e0614955f042b7e6
parent3b9a1a44b352b655ace39194317a3250bab4c6c9 (diff)
Issue #696 RenderResolutionDivisor no longer works
resizeScreenTexture works if gResizeScreenTexture is true or render target was resized
-rw-r--r--indra/newview/llviewerdisplay.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llviewerdisplay.cpp b/indra/newview/llviewerdisplay.cpp
index a936012781..e1d6f71cce 100644
--- a/indra/newview/llviewerdisplay.cpp
+++ b/indra/newview/llviewerdisplay.cpp
@@ -730,8 +730,8 @@ void display(BOOL rebuild, F32 zoom_factor, int subfield, BOOL for_snapshot)
LL_PROFILE_ZONE_NAMED_CATEGORY_DISPLAY("display - 2")
if (gResizeScreenTexture)
{
- gResizeScreenTexture = FALSE;
gPipeline.resizeScreenTexture();
+ gResizeScreenTexture = FALSE;
}
gGL.setColorMask(true, true);