remove duplicate init check in xcb GLX threading support

Change-Id: Ifdaadcb26acfccb9625df23e6526c341cf7ebde0
Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
bb10
Jeremy Katz 2017-02-26 20:27:53 -08:00
parent ffa578faf0
commit 2b339cd3e4
1 changed files with 1 additions and 2 deletions

View File

@ -711,8 +711,7 @@ void QGLXContext::queryDummyContext()
bool QGLXContext::supportsThreading()
{
if (!m_queriedDummyContext)
queryDummyContext();
queryDummyContext();
return m_supportsThreading;
}