Commit f4446e0d authored by Kenneth Vanhoey's avatar Kenneth Vanhoey

correction bug dans shaderVectorPerVertex (glUniform3f à la place de 4f)

parent e55ac7a2
......@@ -110,7 +110,7 @@ void ShaderVectorPerVertex::setScale(float scale)
void ShaderVectorPerVertex::setColor(const Geom::Vec4f& color)
{
bind();
glUniform3fv(m_uniform_color, 1, color.data());
glUniform4fv(m_uniform_color, 1, color.data());
m_color = color;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment