This commit is contained in:
Wojtek Figat
2021-06-15 13:51:16 +02:00
parent f5cdb0abfd
commit a75e403b35
6 changed files with 48 additions and 9 deletions

View File

@@ -109,7 +109,7 @@ void FontManagerService::Dispose()
FontTextureAtlas* FontManager::GetAtlas(int32 index)
{
return index >= 0 && index < Atlases.Count() ? Atlases.Get()[index] : nullptr;
return index >= 0 && index < Atlases.Count() ? Atlases.Get()[index].Get() : nullptr;
}
bool FontManager::AddNewEntry(Font* font, Char c, FontCharacterEntry& entry)