summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms/winrt
diff options
context:
space:
mode:
authorLaszlo Agocs <laszlo.agocs@theqtcompany.com>2016-01-26 15:48:19 +0100
committerSimon Hausmann <simon.hausmann@theqtcompany.com>2016-01-28 20:46:08 +0000
commit48ae2dac07fc15cfbcd79632305ba0f88a850459 (patch)
treeb71cdd005ef7abcca1d3fd3e6ba2772c39aaf56f /src/plugins/platforms/winrt
parent0192ab52e2f14d5914755af5ceb24172f11b6bc7 (diff)
eglfs: fix cleanup when more than one tlw was used
There is nothing guaranteeing there is a context current when the backingstore dtor is invoked for widget windows that do not contain render-to-texture widgets. In some cases the eglfs compositor's context is still current, while in other cases (esp. when having popups and other top-levels) there is none. To prevent not releasing the backingstore texture and the incorrect warning about incorrect context, make the correct context current via an offscreen surface, when necessary. Change-Id: Id8257650c1ec8cf96910a4f285b779419c3558a8 Reviewed-by: Paul Olav Tvete <paul.tvete@theqtcompany.com>
Diffstat (limited to 'src/plugins/platforms/winrt')
0 files changed, 0 insertions, 0 deletions