diff options
author | Laszlo Agocs <laszlo.agocs@digia.com> | 2014-05-23 10:27:49 +0200 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2014-06-02 11:00:26 +0200 |
commit | 2414f1675eab163b22dcc4e8ded80ed04d06369b (patch) | |
tree | e1b517522ff7b72f6138f9af153f4d1b96a7b798 /tools/tools.pro | |
parent | bc59d42e0f0d31d944bc7ae732bba6808e9cb4f6 (diff) |
Keep the internal state about the bound fbo up to date
When binding an FBO directly via glBindFramebuffer, the QOpenGLContext's
internal current_fbo, that is maintained by QOpenGLFramebufferObject,
becomes out of sync. This will lead to QOpenGLFramebufferObjects thinking
they are still bound.
This fix prevents ShaderEffect items in QQuickWidget from complaining
about "'recursive' must be set to true when rendering recursively". Ideally
the entire tracking of the current fbo should be removed, since it cannot
be done robustly enough, but that will likely happen in 5.4 only.
Task-number: QTBUG-38994
Change-Id: I39015d90bb2e0985d2a084b79ffe2004a9bc9f07
Reviewed-by: Gunnar Sletta <gunnar.sletta@jollamobile.com>
Diffstat (limited to 'tools/tools.pro')
0 files changed, 0 insertions, 0 deletions