fixed: getting enabled vertex attribs only in old OpenGL versions or if current vao != 0