OpenGL: Refactor vertex buffer and vertex format.