summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlan Alpert <alan.alpert@nokia.com>2012-02-24 18:30:40 +1000
committerQt by Nokia <qt-info@nokia.com>2012-02-24 10:03:36 +0100
commitbb5c7b75a87ec87218d489313ffc5a2b9cb4e3d5 (patch)
tree4ac8971f82115cc17600bc8d51366249766c470f
parent4df6e058490b4202a5bb5ac0a34b7b2b18493250 (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>
-rw-r--r--src/plugins/platforms/xcb/qxcbintegration.cpp7
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);
}
}