diff options
author | Johan Klokkhammer Helsing <johan.helsing@qt.io> | 2017-02-09 12:53:56 +0100 |
---|---|---|
committer | Johan Helsing <johan.helsing@qt.io> | 2018-02-08 07:08:46 +0000 |
commit | 8b204b2c56be5e7c1fd21144ae140c9b865dd86b (patch) | |
tree | bba42f26e1e6e3b237b17442d3d73c36ebdcc675 /src/hardwareintegration/client/xcomposite-egl/qwaylandxcompositeeglwindow.cpp | |
parent | ebe5f6097af0fd01b3733ebd4d920f710e4b186a (diff) | |
download | qtwayland-8b204b2c56be5e7c1fd21144ae140c9b865dd86b.tar.gz |
Fix compilation for Renesas R-Car M3
Change-Id: Ib85001884bb880a18d8aa1241da0eb614a6b58ba
Reviewed-by: Paul Olav Tvete <paul.tvete@qt.io>
Diffstat (limited to 'src/hardwareintegration/client/xcomposite-egl/qwaylandxcompositeeglwindow.cpp')
-rw-r--r-- | src/hardwareintegration/client/xcomposite-egl/qwaylandxcompositeeglwindow.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hardwareintegration/client/xcomposite-egl/qwaylandxcompositeeglwindow.cpp b/src/hardwareintegration/client/xcomposite-egl/qwaylandxcompositeeglwindow.cpp index 431cb14c..9c3dee3f 100644 --- a/src/hardwareintegration/client/xcomposite-egl/qwaylandxcompositeeglwindow.cpp +++ b/src/hardwareintegration/client/xcomposite-egl/qwaylandxcompositeeglwindow.cpp @@ -121,7 +121,7 @@ void QWaylandXCompositeEGLWindow::createEglSurface() XCompositeRedirectWindow(m_glxIntegration->xDisplay(), m_xWindow, CompositeRedirectManual); XMapWindow(m_glxIntegration->xDisplay(), m_xWindow); - m_surface = eglCreateWindowSurface(m_glxIntegration->eglDisplay(), m_config, m_xWindow,0); + m_surface = eglCreateWindowSurface(m_glxIntegration->eglDisplay(), m_config, reinterpret_cast<EGLNativeWindowType>(m_xWindow), nullptr); if (m_surface == EGL_NO_SURFACE) { qFatal("Could not make eglsurface"); } |