Fix compilation

This commit is contained in:
Lynix 2020-06-03 19:09:51 +02:00
parent effd1b4552
commit 41b50eeac3
1 changed files with 2 additions and 1 deletions

View File

@ -10,7 +10,8 @@ ShaderNode(graph)
{
static_assert(ToComponentCount <= s_vectorComponents.size());
m_overflowComponents.fill(0.f);
for (std::size_t i = 0; i < ToComponentCount; ++i)
m_overflowComponents[i] = 0.f;
m_output = std::make_shared<VecData>(ToComponentCount);
}