From 501100acef50b0c7764661232312a98058fd0d63 Mon Sep 17 00:00:00 2001 From: Beq Date: Thu, 13 Mar 2025 20:58:24 +0000 Subject: [PATCH] [FIRE-33200] Fix ShadowRes breaks shadows (update tagging) Original fix by William Weaver (paperwork) closes FIRE-33200 also: minor edit to remove stray unicode in comment --- indra/newview/pipeline.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/indra/newview/pipeline.cpp b/indra/newview/pipeline.cpp index b29b7ec60c..cfbbfa42b8 100644 --- a/indra/newview/pipeline.cpp +++ b/indra/newview/pipeline.cpp @@ -789,7 +789,7 @@ void LLPipeline::requestResizeShadowTexture() void LLPipeline::resizeShadowTexture() { - // guard against zero size render target + // [FIRE-33200] changing shadowres requires reload - original fix by William Weaver (paperwork) if(mRT->width == 0 || mRT->height == 0) { return; @@ -8088,7 +8088,7 @@ bool LLPipeline::renderSnapshotFrame(LLRenderTarget* src, LLRenderTarget* dst) { float frame_width = w; float frame_height = frame_width / snapshot_aspect; - // Centre this box in [0..1]�[0..1] + // Centre this box in [0..1]x[0..1] float y_offset = 0.5f * (h - frame_height); left = 0.f; top = y_offset / h; @@ -8099,7 +8099,7 @@ bool LLPipeline::renderSnapshotFrame(LLRenderTarget* src, LLRenderTarget* dst) { float frame_height = h; float frame_width = h * snapshot_aspect; - // Centre this box in [0..1]�[0..1] + // Centre this box in [0..1]x[0..1] float x_offset = 0.5f * (w - frame_width); left = x_offset / w; top = 0.f;