From 4138a971ae5589a7dd87865afb895736d69f4efb Mon Sep 17 00:00:00 2001 From: mobserveur Date: Sat, 15 Feb 2025 12:16:26 +0100 Subject: 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. --- indra/llrender/llimagegl.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'indra/llrender') 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; } //---------------------------------------------------------------------------- -- cgit v1.2.3