summaryrefslogtreecommitdiffstats
path: root/src/widgets
diff options
context:
space:
mode:
authorMorten Johan Sørvig <morten.sorvig@qt.io>2016-10-27 09:57:54 +0200
committerMorten Johan Sørvig <morten.sorvig@qt.io>2016-11-08 12:30:24 +0000
commit8f2eb9b43c23b03918c50fa721a47f3ab99e4ec6 (patch)
tree936a4628f8ec52253a9fd568c923e360b27972fc /src/widgets
parentae8d3d69d68e7f3da1b0f524e12496387aff26ec (diff)
Prevent stale QOpenGLContext fbo pointer
There is logic for clearing the qgl_curent_fbo pointer in release(), but it is not always called, causing the pointer to become stale on QOpenGLFramebufferObject deletion. As a last resort, clear the qgl_curent_fbo pointer on the current context if it’s pointing to the object that is being deleted. Change-Id: I36cca511da295412332193524219e32607ef8261 Task-number: QTBUG-56639 Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io> Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Diffstat (limited to 'src/widgets')
0 files changed, 0 insertions, 0 deletions