Try to avoid unnecessary calls to glEnable/DisableVertexAttribArray