Skip to content

Allow compilation on GLES platforms

On GLES 2.0 platforms (more specifically, for Qt5 "opengl es2" builds), QOpenGLFunctions_3_2_Core does not exist. Since Qt 5.7, QOpenGlFramebufferObject has a static wrapper method for framebuffer blitting, which in worst case (i.e. no GL_EXT_framebuffer blit extension) is a noop, but handles all GL platform differences otherwise (3.2 Core context, GLES 3.0, or any earlier with required extensions).

Fix for issue #17113.

Merge request reports