Commit df5f5b4b authored by Sylvain Thery's avatar Sylvain Thery

small bug in coloring darts of topo

parent ec7f05bd
......@@ -126,9 +126,8 @@ void Topo3Render::setAllDartsColor(float r, float g, float b)
*colorDartBuf++ = g;
*colorDartBuf++ = b;
}
glUnmapBufferARB(GL_ARRAY_BUFFER);
m_vbo4->bind();
glUnmapBufferARB(GL_ELEMENT_ARRAY_BUFFER);
}
void Topo3Render::drawDarts()
......
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