summaryrefslogtreecommitdiff
path: root/indra/llrender/llfontregistry.cpp
diff options
context:
space:
mode:
authorKitty Barnett <develop@catznip.com>2019-10-27 16:41:38 +0200
committerKitty Barnett <develop@catznip.com>2019-10-27 16:41:38 +0200
commit05566ce7a7e1895a5b3ab2f9df2587dac63429e1 (patch)
treed74096c225ee496a8ecc57c7864d1eb6767773eb /indra/llrender/llfontregistry.cpp
parent4e2b2f662ad3f7b2e09f9451227bbf7018d91708 (diff)
Font debugging aid to dump descriptors + individual textures
Diffstat (limited to 'indra/llrender/llfontregistry.cpp')
-rw-r--r--indra/llrender/llfontregistry.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/indra/llrender/llfontregistry.cpp b/indra/llrender/llfontregistry.cpp
index dbe71e2882..5ab2ab046e 100644
--- a/indra/llrender/llfontregistry.cpp
+++ b/indra/llrender/llfontregistry.cpp
@@ -721,6 +721,17 @@ void LLFontRegistry::dump()
}
}
+void LLFontRegistry::dumpTextures()
+{
+ for (const auto& fontEntry : mFontMap)
+ {
+ if (fontEntry.second)
+ {
+ fontEntry.second->dumpTextures();
+ }
+ }
+}
+
const string_vec_t& LLFontRegistry::getUltimateFallbackList() const
{
return mUltimateFallbackList;