Clean up some GL state explicitly
This was SVN commit r9331.
This commit is contained in:
parent
e9e0f0035f
commit
e4b530fb1a
@ -84,6 +84,8 @@ void OverlayRenderer::RenderOverlays()
|
||||
glDrawArrays(GL_LINE_STRIP, 0, (GLsizei)line->m_Coords.size()/3);
|
||||
}
|
||||
|
||||
glDisableClientState(GL_VERTEX_ARRAY);
|
||||
|
||||
glLineWidth(1.f);
|
||||
glDisable(GL_BLEND);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user