diff options
author | Shawn Rutledge <shawn.rutledge@digia.com> | 2014-08-28 11:53:06 +0200 |
---|---|---|
committer | Shawn Rutledge <shawn.rutledge@digia.com> | 2014-08-28 13:36:13 +0200 |
commit | 41826cfbae4569255c78ea5ade2a4b7ed9a2dfe1 (patch) | |
tree | f097307fb86437f61dff82dce2893240ed26202c /src/plugins/platforms/xcb/qglxintegration.h | |
parent | 75cf14e413427f6687b895731f5b1294389c4dc7 (diff) |
QGLXContext survives screen removal
The screen pointer is usually only used to get the Display, which normally
doesn't change anyway.
Task-number: QTBUG-39996
Change-Id: Ie35f02fc9330647897a9f081afb8c9ce550eed2a
Reviewed-by: Laszlo Agocs <laszlo.agocs@digia.com>
Diffstat (limited to 'src/plugins/platforms/xcb/qglxintegration.h')
-rw-r--r-- | src/plugins/platforms/xcb/qglxintegration.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/platforms/xcb/qglxintegration.h b/src/plugins/platforms/xcb/qglxintegration.h index 00bba94ab3..560dd6ab67 100644 --- a/src/plugins/platforms/xcb/qglxintegration.h +++ b/src/plugins/platforms/xcb/qglxintegration.h @@ -76,7 +76,7 @@ public: static void queryDummyContext(); private: - QXcbScreen *m_screen; + Display *m_display; GLXContext m_context; GLXContext m_shareContext; QSurfaceFormat m_format; |