fixed AtomLyIntegration

Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com>
This commit is contained in:
pappeste
2021-06-25 16:21:12 -07:00
committed by Esteban Papp
parent 38fd7f0013
commit b3e895d10c
9 changed files with 19 additions and 18 deletions
@@ -235,12 +235,12 @@ int AZ::FontRenderer::GetGlyph(GlyphBitmap* glyphBitmap, int* horizontalAdvance,
if (glyphWidth)
{
*glyphWidth = m_glyph->bitmap.width;
*glyphWidth = static_cast<uint8_t>(m_glyph->bitmap.width);
}
if (glyphHeight)
{
*glyphHeight = m_glyph->bitmap.rows;
*glyphHeight = static_cast<uint8_t>(m_glyph->bitmap.rows);
}
unsigned char* buffer = glyphBitmap->GetBuffer();