fix silly mistake in previous commit

This commit is contained in:
Marianne Gagnon 2014-05-10 19:31:30 -04:00
parent 486d5c291f
commit bdabbedf28

View File

@ -209,7 +209,7 @@ void IrrDriver::renderGLSL(float dt)
{
for (int i = 0; i < it->second.size(); i += 2)
{
draw3DLine((const core::vector3df&)it->second[0], (const core::vector3df&)it->second[1], it->first);
draw3DLine((const core::vector3df&)it->second[i], (const core::vector3df&)it->second[i + 1], it->first);
}
}
}