summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCosmic Linden <cosmic@lindenlab.com>2024-02-21 16:06:11 -0800
committerCosmic Linden <cosmic@lindenlab.com>2024-02-21 16:06:11 -0800
commitfc7abe8cb9ef737cb1ad4431e30c42f08d6e8899 (patch)
tree595c349db5c0aa39992a4fb5412309d8b26ecf7a
parentce55ff2e77db649f71107230609fc20fc86a0af3 (diff)
secondlife/viewer-issues#72: More correct interpretation of swapFBORefs
-rw-r--r--indra/llrender/llrendertarget.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/indra/llrender/llrendertarget.cpp b/indra/llrender/llrendertarget.cpp
index 3dccb9c8fd..9cd7527d3e 100644
--- a/indra/llrender/llrendertarget.cpp
+++ b/indra/llrender/llrendertarget.cpp
@@ -593,4 +593,5 @@ void LLRenderTarget::swapFBORefs(LLRenderTarget& other)
llassert(mUsage == other.mUsage);
std::swap(mFBO, other.mFBO);
+ std::swap(mTex, other.mTex);
}