Commit 6794217e authored by Jan Möbius's avatar Jan Möbius
Browse files

Reverd bad commit part with polyline

git-svn-id: 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 75e0b335
......@@ -544,9 +544,9 @@ getRenderObjects(ACG::IRenderer* _renderer, ACG::GLState& _state , const ACG::S
// The first point is mapped to an additional last point in buffer, so we can
// just Render one point more to get a closed line
if ( polyline_.is_closed() )
ro.glDrawArrays(GL_LINE_STRIP_ADJACENCY, 0, polyline_.n_vertices() + 1);
ro.glDrawArrays(GL_LINE_STRIP, 0, polyline_.n_vertices() + 1);
ro.glDrawArrays(GL_LINE_STRIP_ADJACENCY, 0, polyline_.n_vertices());
ro.glDrawArrays(GL_LINE_STRIP, 0, polyline_.n_vertices());
Supports Markdown
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