diff options
author | Alan Alpert <alan.alpert@nokia.com> | 2012-02-24 18:30:40 +1000 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-02-24 10:03:36 +0100 |
commit | bb5c7b75a87ec87218d489313ffc5a2b9cb4e3d5 (patch) | |
tree | 4ac8971f82115cc17600bc8d51366249766c470f /src | |
parent | 4df6e058490b4202a5bb5ac0a34b7b2b18493250 (diff) |
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>
Diffstat (limited to 'src')
-rw-r--r-- | src/plugins/platforms/xcb/qxcbintegration.cpp | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/plugins/platforms/xcb/qxcbintegration.cpp b/src/plugins/platforms/xcb/qxcbintegration.cpp index e7cdef4da9..98f69e9e16 100644 --- a/src/plugins/platforms/xcb/qxcbintegration.cpp +++ b/src/plugins/platforms/xcb/qxcbintegration.cpp @@ -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); } } |