remove duplicate init check in xcb GLX threading support
Change-Id: Ifdaadcb26acfccb9625df23e6526c341cf7ebde0 Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>bb10
parent
ffa578faf0
commit
2b339cd3e4
|
|
@ -711,8 +711,7 @@ void QGLXContext::queryDummyContext()
|
|||
|
||||
bool QGLXContext::supportsThreading()
|
||||
{
|
||||
if (!m_queriedDummyContext)
|
||||
queryDummyContext();
|
||||
queryDummyContext();
|
||||
return m_supportsThreading;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue