Fix compilation when Qt is built for GLES platforms
authorStefan Brüns <stefan.bruens@rwth-aachen.de>
Tue, 9 Jun 2020 15:11:12 +0000 (17:11 +0200)
committerAnton Gladky <gladk@debian.org>
Sun, 13 Dec 2020 11:55:42 +0000 (11:55 +0000)
commitfe66b1162170ab171c6ce8fdb1840b3a7f1d3d6c
treec098005fdbc6cb11fa87dc90afa7c714a5b2b0eb
parent6733c3e1de4f0192f489d8ce944d23a86e276b5d
Fix compilation when Qt is built for GLES platforms

On GLES 2.0/3.0 platforms (more specifically, for Qt5 "opengl es2" builds),
QOpenGLFunctions_3_2_Core does not exist.

After the last restructuring, from the GL 3.2 Core functions only
glDrawBuffer is used. glDrawBuffer can be trivially replaced with
glDrawBuffers, which is part of OpenGL 2.0 and GLES 3.0, and as an
extension in many GLES 2.0 implementations.

Gbp-Pq: Name 82_allow_gles_platforms.patch
GUISupport/Qt/QVTKRenderWindowAdapter.cxx