summaryrefslogtreecommitdiff
path: root/indra/newview/llreflectionmapmanager.cpp
diff options
context:
space:
mode:
authorJonathan "Geenz" Goodman <geenz@lindenlab.com>2025-10-08 14:52:33 -0400
committerGitHub <noreply@github.com>2025-10-08 14:52:33 -0400
commit9e71e1ca3803a0a55085b954a9d795c19334c1db (patch)
tree961ea9feda94e1a1c89f9159a11041120bb07cd6 /indra/newview/llreflectionmapmanager.cpp
parentdd59dd5d657c1827d84a432c4aaa6829dad245c5 (diff)
Move the irradiance gen unbind to be within the correct scope. (#4798)
Diffstat (limited to 'indra/newview/llreflectionmapmanager.cpp')
-rw-r--r--indra/newview/llreflectionmapmanager.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/newview/llreflectionmapmanager.cpp b/indra/newview/llreflectionmapmanager.cpp
index eb7fe06e7d..c6fa64753c 100644
--- a/indra/newview/llreflectionmapmanager.cpp
+++ b/indra/newview/llreflectionmapmanager.cpp
@@ -998,11 +998,11 @@ void LLReflectionMapManager::updateProbeFace(LLReflectionMap* probe, U32 face)
mTexture->bind(channel);
}
}
+
+ gIrradianceGenProgram.unbind();
}
mMipChain[0].flush();
-
- gIrradianceGenProgram.unbind();
}
}