Fix OpenGLVersionFlags on OpenGL 4.0 systems
authorRhys Weatherley <rhys.weatherley@nokia.com>
Mon, 16 Aug 2010 02:19:06 +0000 (12:19 +1000)
committerRhys Weatherley <rhys.weatherley@nokia.com>
Mon, 16 Aug 2010 02:22:56 +0000 (12:22 +1000)
commit0a94e2af3c29afa6e8d7ae3041bed4f187b3c1ca
tree675f2da4f2d4d3c05afdec42183d3c76b53c0523
parent36a98407ce53e2d7ae6f1ef3b65794b113ae1606
Fix OpenGLVersionFlags on OpenGL 4.0 systems

If the OpenGL version was 4.0 or higher, the flags for 1.1, 1.5, 2.0,
and so on were not being set.  This lead to the flags indicating that
older OpenGL versions were not supported when they clearly were.

Back port parts of 28659c21d12a267b10e5b441bf4c776e04d69bdc from Qt 4.7
to fix this in Qt 4.6.

Task-number: QTBUG-12554
Reviewed-by: Sarah Smith
dist/changes-4.6.4
src/opengl/qgl.cpp