Changed requirement from OpenGL 3.1 into 3.2. Fixed bug where the vertex buffers sometimes wasn't added correctly, this was due to missing glFlush