Fixed smooth lines drawn with the 'none' line join mode.

This commit is contained in:
Alex Szpakowski
2015-06-27 17:51:57 -03:00
parent 6da759047e
commit ee90d09937
2 changed files with 14 additions and 6 deletions
+1 -1
View File
@@ -420,7 +420,7 @@ void Polyline::draw()
gl.useVertexAttribArrays(enabledattribs);
glVertexAttribPointer(ATTRIB_POS, 2, GL_FLOAT, GL_FALSE, 0, vertices + vertex_start);
glVertexAttribPointer(ATTRIB_POS, 2, GL_FLOAT, GL_FALSE, 0, vertices);
// Draw the core line and the overdraw in a single draw call. We can do this
// because the vertex array contains both the core line and the overdraw