XCB No longer lists ThreadedOpenGL capability

Even with the more recent libxcb, it's a bit flaky. Just don't list
having this capability until it is more stable.

Change-Id: I1c2b39d757803fc23295944bc9a00e39ff4e1bbf
Reviewed-by: Gunnar Sletta <gunnar.sletta@nokia.com>
bb10
Alan Alpert 2012-02-24 18:30:40 +10:00 committed by Qt by Nokia
parent 4df6e05849
commit bb5c7b75a8
1 changed files with 1 additions and 6 deletions

View File

@ -204,12 +204,7 @@ bool QXcbIntegration::hasCapability(QPlatformIntegration::Capability cap) const
case ThreadedPixmaps: return true;
case OpenGL: return true;
case ThreadedOpenGL:
#ifdef XCB_POLL_FOR_QUEUED_EVENT
return true;
#else
return false;
#endif
case ThreadedOpenGL: return false;
default: return QPlatformIntegration::hasCapability(cap);
}
}