Graphics/Sprite: Fix sprites not initializing materials

This commit is contained in:
Lynix 2017-01-09 14:23:30 +01:00
parent e0db2e69f8
commit 1fad7606c7
1 changed files with 2 additions and 0 deletions

View File

@ -19,6 +19,8 @@ namespace Nz
m_size(64.f, 64.f),
m_origin(Nz::Vector3f::Zero())
{
ResetMaterials(1);
for (Color& color : m_cornerColor)
color = Color::White;