1
0
mirror of https://github.com/blawar/GLideN64.git synced 2024-07-04 10:03:36 +00:00

Fix line width for BufferedDrawer::drawLine.

This commit is contained in:
Sergey Lipskiy 2017-05-28 22:11:27 +07:00
parent 86d144c2a7
commit b4ce5fb842

View File

@ -229,5 +229,6 @@ void BufferedDrawer::drawLine(f32 _width, SPVertex * _vertices)
Buffer & vboBuffer = m_trisBuffers.vbo;
_updateBuffer(vboBuffer, 2, vboDataSize, m_vertices);
glLineWidth(_width);
glDrawArrays(GL_LINES, m_trisBuffers.vbo.pos - 2, 2);
}