mirror of
https://github.com/blawar/GLideN64.git
synced 2024-07-04 10:03:36 +00:00
Fix typo in OGLRender::drawLine
This commit is contained in:
parent
107b646e6f
commit
a1a438588f
|
@ -1483,7 +1483,7 @@ void OGLRender::drawLine(int _v0, int _v1, float _width)
|
|||
glVertexAttribPointer(SC_POSITION, 4, GL_FLOAT, GL_FALSE, sizeof(SPVertex), &triangles.vertices[0].x);
|
||||
glVertexAttribPointer(SC_COLOR, 4, GL_FLOAT, GL_FALSE, sizeof(SPVertex), &triangles.vertices[0].r);
|
||||
glEnableVertexAttribArray(SC_MODIFY);
|
||||
glVertexAttribPointer(SC_MODIFY, 1, GL_BYTE, GL_FALSE, sizeof(SPVertex), &triangles.vertices[0].modify);
|
||||
glVertexAttribPointer(SC_MODIFY, 4, GL_BYTE, GL_FALSE, sizeof(SPVertex), &triangles.vertices[0].modify);
|
||||
|
||||
m_renderState = rsLine;
|
||||
currentCombiner()->updateRenderState();
|
||||
|
|
Loading…
Reference in New Issue
Block a user