summaryrefslogtreecommitdiff
path: root/indra/llrender/llfontfreetype.cpp
diff options
context:
space:
mode:
authorNicky <nicky.dasmijn@posteo.nl>2024-10-02 11:41:48 +0200
committerNicky <nicky.dasmijn@posteo.nl>2024-10-02 11:41:48 +0200
commitf2b10d095f52b6dd614f6a273024bd69d39b7685 (patch)
tree95f39edbbc1fca94a8058d2c1c9f2cf2fd287585 /indra/llrender/llfontfreetype.cpp
parent69d963331e7669670b7031dc6a708ca10374cd2c (diff)
Rename namepsace to "ll"
Diffstat (limited to 'indra/llrender/llfontfreetype.cpp')
-rw-r--r--indra/llrender/llfontfreetype.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/indra/llrender/llfontfreetype.cpp b/indra/llrender/llfontfreetype.cpp
index 9a5d11b23a..eee4ea988b 100644
--- a/indra/llrender/llfontfreetype.cpp
+++ b/indra/llrender/llfontfreetype.cpp
@@ -815,7 +815,7 @@ void LLFontFreetype::setSubImageLuminanceAlpha(U32 x, U32 y, U32 bitmap_num, U32
}
-namespace nd
+namespace ll
{
namespace fonts
{
@@ -840,7 +840,7 @@ namespace nd
U8 const* LLFontManager::loadFont( std::string const &aFilename, long &a_Size)
{
a_Size = 0;
- std::map< std::string, std::shared_ptr<nd::fonts::LoadedFont> >::iterator itr = m_LoadedFonts.find( aFilename );
+ std::map< std::string, std::shared_ptr<ll::fonts::LoadedFont> >::iterator itr = m_LoadedFonts.find( aFilename );
if( itr != m_LoadedFonts.end() )
{
++itr->second->mRefs;
@@ -858,7 +858,7 @@ U8 const* LLFontManager::loadFont( std::string const &aFilename, long &a_Size)
a_Size = static_cast<long>(strContent.size());
- auto pCache = std::make_shared<nd::fonts::LoadedFont>( aFilename, strContent, a_Size );
+ auto pCache = std::make_shared<ll::fonts::LoadedFont>( aFilename, strContent, a_Size );
itr = m_LoadedFonts.insert( std::make_pair( aFilename, pCache ) ).first;
return reinterpret_cast<U8 const*>(itr->second->mAddress.c_str());
@@ -867,4 +867,4 @@ U8 const* LLFontManager::loadFont( std::string const &aFilename, long &a_Size)
void LLFontManager::unloadAllFonts()
{
m_LoadedFonts.clear();
-} \ No newline at end of file
+}