mirror of
https://github.com/blawar/GLideN64.git
synced 2024-07-07 03:13:49 +00:00
Fix line width for BufferedDrawer::drawLine.
This commit is contained in:
parent
86d144c2a7
commit
b4ce5fb842
|
@ -229,5 +229,6 @@ void BufferedDrawer::drawLine(f32 _width, SPVertex * _vertices)
|
||||||
Buffer & vboBuffer = m_trisBuffers.vbo;
|
Buffer & vboBuffer = m_trisBuffers.vbo;
|
||||||
_updateBuffer(vboBuffer, 2, vboDataSize, m_vertices);
|
_updateBuffer(vboBuffer, 2, vboDataSize, m_vertices);
|
||||||
|
|
||||||
|
glLineWidth(_width);
|
||||||
glDrawArrays(GL_LINES, m_trisBuffers.vbo.pos - 2, 2);
|
glDrawArrays(GL_LINES, m_trisBuffers.vbo.pos - 2, 2);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user