This reduces the overhead of calling glBindVertexArray() every time RestoreAPIState() is called, even when it is redundant.