summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormobserveur <mobserveur@gmail.co[alias]>2025-02-15 12:16:26 +0100
committermobserveur <mobserveur@gmail.co[alias]>2025-02-15 12:16:26 +0100
commit4138a971ae5589a7dd87865afb895736d69f4efb (patch)
treee1e2f9c94e6bf7d6d4bc78bc2b68cc6f94adfb51
parentd6b5fa1eb873407ff66915f06f27c5e4752dd62d (diff)
fix in the render infos panel
this fixes the number of unique textures displayed in the render infos debug displayer. It used to not reset this value per frame, making it useless.
-rw-r--r--indra/llrender/llimagegl.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/indra/llrender/llimagegl.cpp b/indra/llrender/llimagegl.cpp
index e659265166..e8bba851e1 100644
--- a/indra/llrender/llimagegl.cpp
+++ b/indra/llrender/llimagegl.cpp
@@ -439,6 +439,8 @@ void LLImageGL::updateStats(F32 current_time)
{
LL_PROFILE_ZONE_SCOPED_CATEGORY_TEXTURE;
sLastFrameTime = current_time;
+ sBindCount = 0;
+ sUniqueCount = 0;
}
//----------------------------------------------------------------------------