diff options
author | Michal Klocek <michal.klocek@qt.io> | 2018-06-13 19:03:28 +0200 |
---|---|---|
committer | Michal Klocek <michal.klocek@qt.io> | 2018-06-15 08:03:18 +0000 |
commit | f423482a6e619a10754111254d7b4598e2d1e37c (patch) | |
tree | 88667d5d069c622044b426a87d154973d13d47ef /src/hardwareintegration/client/wayland-egl/qwaylandeglwindow.cpp | |
parent | 815206d67af63d7ea3f1dfcae0b8ed34303dbe74 (diff) |
Fix renderableType of requested wayland surface
Commit 815206 fixed renderableType of wayland gl context, keep
for sanity also correct renderableType for surface. This is most likely
never used, but makes more sense to keep it in sync.
Change-Id: I8e8cae1feba20054aac94be246e449ccb0974240
Reviewed-by: Johan Helsing <johan.helsing@qt.io>
Diffstat (limited to 'src/hardwareintegration/client/wayland-egl/qwaylandeglwindow.cpp')
-rw-r--r-- | src/hardwareintegration/client/wayland-egl/qwaylandeglwindow.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hardwareintegration/client/wayland-egl/qwaylandeglwindow.cpp b/src/hardwareintegration/client/wayland-egl/qwaylandeglwindow.cpp index 3b9001475..3009f9d63 100644 --- a/src/hardwareintegration/client/wayland-egl/qwaylandeglwindow.cpp +++ b/src/hardwareintegration/client/wayland-egl/qwaylandeglwindow.cpp @@ -62,7 +62,7 @@ QWaylandEglWindow::QWaylandEglWindow(QWindow *window) if (mDisplay->supportsWindowDecoration()) fmt.setAlphaBufferSize(8); m_eglConfig = q_configFromGLFormat(m_clientBufferIntegration->eglDisplay(), fmt); - m_format = q_glFormatFromConfig(m_clientBufferIntegration->eglDisplay(), m_eglConfig); + m_format = q_glFormatFromConfig(m_clientBufferIntegration->eglDisplay(), m_eglConfig, fmt); // Do not create anything from here. This platform window may belong to a // RasterGLSurface window which may have pure raster content. In this case, where the |