summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJørgen Lind <jorgen.lind@nokia.com>2011-03-16 14:52:07 (GMT)
committerJørgen Lind <jorgen.lind@nokia.com>2011-03-16 14:53:16 (GMT)
commitf3ec9966ab23d1c4e56e17e593b99165364612ab (patch)
tree1d195cd7e5f1ec31360508e5615b194e90c54502 /src
parentf2f545a37982e44c3a9e614b64bf484294c13756 (diff)
downloadQt-f3ec9966ab23d1c4e56e17e593b99165364612ab.zip
Qt-f3ec9966ab23d1c4e56e17e593b99165364612ab.tar.gz
Qt-f3ec9966ab23d1c4e56e17e593b99165364612ab.tar.bz2
Lighthouse: Xcb, compile fix for the glx path
Diffstat (limited to 'src')
-rw-r--r--src/plugins/platforms/xcb/qxcbconnection.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/plugins/platforms/xcb/qxcbconnection.cpp b/src/plugins/platforms/xcb/qxcbconnection.cpp
index da60311..5a6bef7 100644
--- a/src/plugins/platforms/xcb/qxcbconnection.cpp
+++ b/src/plugins/platforms/xcb/qxcbconnection.cpp
@@ -443,10 +443,12 @@ void QXcbConnection::initializeAllAtoms() {
m_allAtoms[i] = xcb_intern_atom_reply(xcb_connection(), cookies[i], 0)->atom;
}
+#if defined(XCB_USE_EGL)
bool QXcbConnection::hasEgl() const
{
return m_has_egl;
}
+#endif // defined(XCB_USE_EGL)
#ifdef XCB_USE_DRI2
void QXcbConnection::initializeDri2()