OpenGL: Stream vertices + indices

This commit is contained in:
degasus
2014-01-23 13:41:53 +01:00
parent 52feed04db
commit ff002320a5
3 changed files with 15 additions and 8 deletions

View File

@ -1653,7 +1653,7 @@ void Renderer::RestoreAPIState()
VertexManager *vm = (OGL::VertexManager*)g_vertex_manager;
glBindBuffer(GL_ARRAY_BUFFER, vm->m_vertex_buffers);
vm->m_last_vao = 0;
glBindVertexArray(vm->m_last_vao);
TextureCache::SetStage();
}