summaryrefslogtreecommitdiff
path: root/indra/newview/pipeline.cpp
diff options
context:
space:
mode:
authorWilliam Weaver <paperwork.resident@gmail.com>2025-04-02 04:23:07 +0300
committerWilliam Weaver <paperwork.resident@gmail.com>2025-04-02 04:23:07 +0300
commitf0ad01c7dd875ddb6d963e55da8d88cbcd7be6aa (patch)
treeef8a303108f3402fd92a7a95910f44ec09437e97 /indra/newview/pipeline.cpp
parentbe595b440321dcad842be5d982d20fd601bb8b4c (diff)
parent6110028012181f445d5f7de2a73a5bf7adb0097c (diff)
Merge branch 'fix/xui-parsing-fixes' of https://github.com/williamweaver/viewer into fix/xui-parsing-fixes
Diffstat (limited to 'indra/newview/pipeline.cpp')
-rw-r--r--indra/newview/pipeline.cpp9
1 files changed, 6 insertions, 3 deletions
diff --git a/indra/newview/pipeline.cpp b/indra/newview/pipeline.cpp
index 18dd694246..6adf203ea1 100644
--- a/indra/newview/pipeline.cpp
+++ b/indra/newview/pipeline.cpp
@@ -121,7 +121,7 @@
#include "SMAAAreaTex.h"
#include "SMAASearchTex.h"
-
+#include "llerror.h"
#ifndef LL_WINDOWS
#define A_GCC 1
#pragma GCC diagnostic ignored "-Wunused-function"
@@ -1286,8 +1286,11 @@ void LLPipeline::createGLBuffers()
}
allocateScreenBuffer(resX, resY);
- mRT->width = 0;
- mRT->height = 0;
+ // Do not zero out mRT dimensions here. allocateScreenBuffer() above
+ // already sets the correct dimensions. Zeroing them caused resizeShadowTexture()
+ // to fail if called immediately after createGLBuffers (e.g., post graphics change).
+ // mRT->width = 0;
+ // mRT->height = 0;
if (!mNoiseMap)