diff options
author | Jørgen Lind <jorgen.lind@nokia.com> | 2011-03-16 14:52:07 (GMT) |
---|---|---|
committer | Jørgen Lind <jorgen.lind@nokia.com> | 2011-03-16 14:53:16 (GMT) |
commit | f3ec9966ab23d1c4e56e17e593b99165364612ab (patch) | |
tree | 1d195cd7e5f1ec31360508e5615b194e90c54502 | |
parent | f2f545a37982e44c3a9e614b64bf484294c13756 (diff) | |
download | Qt-f3ec9966ab23d1c4e56e17e593b99165364612ab.zip Qt-f3ec9966ab23d1c4e56e17e593b99165364612ab.tar.gz Qt-f3ec9966ab23d1c4e56e17e593b99165364612ab.tar.bz2 |
Lighthouse: Xcb, compile fix for the glx path
-rw-r--r-- | src/plugins/platforms/xcb/qxcbconnection.cpp | 2 |
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() |