LyShine

Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com>
This commit is contained in:
pappeste
2021-06-25 16:35:06 -07:00
committed by Esteban Papp
parent 23b2a51757
commit 4a3d438c22
7 changed files with 19 additions and 19 deletions
+1 -1
View File
@@ -1096,7 +1096,7 @@ UiTextComponent::InlineImage::InlineImage(const AZStd::string& texturePathname,
if (m_texture)
{
AZ::RHI::Size size = m_texture->GetDescriptor().m_size;
m_size = AZ::Vector2(size.m_width, size.m_height);
m_size = AZ::Vector2(static_cast<float>(size.m_width), static_cast<float>(size.m_height));
}
}