1
1
forked from 0ad/0ad

Clean up some GL state explicitly

This was SVN commit r9331.
This commit is contained in:
Ykkrosh 2011-04-27 20:12:58 +00:00
parent e9e0f0035f
commit e4b530fb1a

View File

@ -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);
}