Don't define highp/mediump/lowp if desktop GL has them
authorRhys Weatherley <rhys.weatherley@nokia.com>
Fri, 13 Aug 2010 00:50:31 +0000 (10:50 +1000)
committerRhys Weatherley <rhys.weatherley@nokia.com>
Fri, 13 Aug 2010 00:50:31 +0000 (10:50 +1000)
commit6155050f68cc86c445552da61a5f240c16f5e2cd
treeeccb560efebc61a949f13e4a3e124460c001eb8e
parentb0d2a439314bc86e6e15fe033c1edaee471b4b95
Don't define highp/mediump/lowp if desktop GL has them

OpenGL 4.0 systems now have compatibility with ES2, including
support for the precision qualifiers.  If the GL_ARB_ES2_compatibility
extension is present, then we don't define highp/mediump/lowp
to the empty string.

Task-number: QTBUG-12862
Reviewed-by: Sarah Smith
dist/changes-4.6.4
src/opengl/qgl.cpp
src/opengl/qgl_p.h
src/opengl/qglshaderprogram.cpp