From 41826cfbae4569255c78ea5ade2a4b7ed9a2dfe1 Mon Sep 17 00:00:00 2001 From: Shawn Rutledge Date: Thu, 28 Aug 2014 11:53:06 +0200 Subject: 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 --- src/plugins/platforms/xcb/qglxintegration.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/plugins/platforms/xcb/qglxintegration.h') 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; -- cgit v1.2.3