diff options
author | Jørgen Lind <jorgen.lind@nokia.com> | 2011-05-31 15:47:02 +0200 |
---|---|---|
committer | Jørgen Lind <jorgen.lind@nokia.com> | 2011-05-31 15:57:03 +0200 |
commit | d0beb0d95b63c230e965cf151a39ac6e7b779ae9 (patch) | |
tree | 4dc437b0c75684e9ea6a22277953f3ba5ca661d2 /src/plugins/platforms/xcb | |
parent | 9bd270f64d2eb481130663c4035f4097857c89c3 (diff) |
Fix the egl path for xcb and wayland plugins
Reviewed-by: Samuel Rødal
Diffstat (limited to 'src/plugins/platforms/xcb')
-rw-r--r-- | src/plugins/platforms/xcb/qxcbwindow.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/platforms/xcb/qxcbwindow.cpp b/src/plugins/platforms/xcb/qxcbwindow.cpp index e17c87fa85..afcec8e139 100644 --- a/src/plugins/platforms/xcb/qxcbwindow.cpp +++ b/src/plugins/platforms/xcb/qxcbwindow.cpp @@ -150,7 +150,7 @@ void QXcbWindow::create() XVisualInfo *visualInfo = qglx_findVisualInfo(DISPLAY_FROM_XCB(m_screen),m_screen->screenNumber(), window()->requestedWindowFormat()); #elif defined(XCB_USE_EGL) EGLDisplay eglDisplay = connection()->egl_display(); - EGLConfig eglConfig = q_configFromQPlatformWindowFormat(eglDisplay,window()->requestedWindowFormat(),true); + EGLConfig eglConfig = q_configFromQWindowFormat(eglDisplay,window()->requestedWindowFormat(),true); VisualID id = QXlibEglIntegration::getCompatibleVisualId(DISPLAY_FROM_XCB(this), eglDisplay, eglConfig); XVisualInfo visualInfoTemplate; @@ -890,7 +890,7 @@ QPlatformGLContext *QXcbWindow::glContext() const that->m_context = new QGLXContext(m_window, m_screen, window()->requestedWindowFormat()); #elif defined(XCB_USE_EGL) EGLDisplay display = connection()->egl_display(); - EGLConfig config = q_configFromQPlatformWindowFormat(display,window()->requestedWindowFormat(),true); + EGLConfig config = q_configFromQWindowFormat(display,window()->requestedWindowFormat(),true); QVector<EGLint> eglContextAttrs; eglContextAttrs.append(EGL_CONTEXT_CLIENT_VERSION); eglContextAttrs.append(2); |