diff options
author | Laszlo Agocs <laszlo.agocs@theqtcompany.com> | 2015-09-08 09:23:34 +0200 |
---|---|---|
committer | Laszlo Agocs <laszlo.agocs@theqtcompany.com> | 2015-09-22 14:15:29 +0000 |
commit | eecc351c5d05989c1b0ea3349f76a579b83eb446 (patch) | |
tree | e3a6fd57da7756a02a3127f9efabff0f203fb356 /src/plugins/platforms/eglfs/qeglfsintegration.cpp | |
parent | 9e81fb4df6809bb2ff909af595ac9e2487760181 (diff) |
Null out QOpenGLContext::screen upon screen disconnect
Returning a dangling pointer is no good. Do what QOffscreenSurface does:
just null it out.
Task-number: QTBUG-42803
Change-Id: I01a6db9ae8974a1c78157ebc67097c8dac3a6b6e
Reviewed-by: Gunnar Sletta <gunnar@sletta.org>
Diffstat (limited to 'src/plugins/platforms/eglfs/qeglfsintegration.cpp')
0 files changed, 0 insertions, 0 deletions