~mitya57/qtubuntu/qt5.9

Viewing all changes in revision 386.

  • Committer: Bileto Bot
  • Author(s): Gerry Boland
  • Date: 2017-03-28 17:11:26 UTC
  • mfrom: (378.5.6 fix-test-crash)
  • Revision ID: ci-train-bot@canonical.com-20170328171126-ovr34k3gm57qva4s
BackingStore: is possible for context's QPlatformSurface to be deleted before backing store is.
  
On destruction, check if there is a current context, and if not, it is likely the QWindow's original QPlatformSurface has been deleted. To clean up properly, need to create a temporary QOffscreenSurface, which can then acquire the GL context and delete the texture safely.

Approved by: Daniel d'Andrada, Unity8 CI Bot

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: