From c8753db20ee737ab10eee2d7a986ad2a0f401723 Mon Sep 17 00:00:00 2001 From: Tonya Souther Date: Sat, 14 Dec 2013 17:33:59 -0600 Subject: [PATCH] FIRE-11830: RenderResolutionDivisor broken after merge. --- indra/newview/pipeline.cpp | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/indra/newview/pipeline.cpp b/indra/newview/pipeline.cpp index 898c50aaed..d6a8514693 100755 --- a/indra/newview/pipeline.cpp +++ b/indra/newview/pipeline.cpp @@ -828,7 +828,13 @@ void LLPipeline::resizeScreenTexture() GLuint resX = gViewerWindow->getWorldViewWidthRaw(); GLuint resY = gViewerWindow->getWorldViewHeightRaw(); - if ((resX != mScreen.getWidth()) || (resY != mScreen.getHeight())) + // FIRE-11830: RenderResolutionDivisor broken + // We need to reallocate the screen buffer even if the size + // hasn't changed, since changing that debug setting only + // resizes the screen texture to itself and depends on the + // side effects. Found by Felis Darwin. + //if ((resX != mScreen.getWidth()) || (resY != mScreen.getHeight())) + // FIRE-11830 { releaseScreenBuffers(); if (!allocateScreenBuffer(resX,resY))