diff options
author | Giulio Camuffo <giulio.camuffo@jollamobile.com> | 2014-03-05 13:15:29 +0200 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2014-03-06 12:47:53 +0100 |
commit | 5c605d363e2fc42f5ec80413d093b69614027da4 (patch) | |
tree | 279f1b337b63ad469c5bef4dd79fd1d8a6d42bee /src/hardwareintegration/client/wayland-egl/qwaylandeglwindow.h | |
parent | d30758c987ff7899872dd0021a740e67f0f470e6 (diff) |
Create the egl windows and context with the right config
The egl config should be calculated when creating the window, and
the format of it should be set accordingly. The format of the window
and the one of the context will then match if using the same format
as input.
Change-Id: Ie93735171d8945111a450263089e192919249b68
Reviewed-by: Laszlo Agocs <laszlo.agocs@digia.com>
Diffstat (limited to 'src/hardwareintegration/client/wayland-egl/qwaylandeglwindow.h')
-rw-r--r-- | src/hardwareintegration/client/wayland-egl/qwaylandeglwindow.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hardwareintegration/client/wayland-egl/qwaylandeglwindow.h b/src/hardwareintegration/client/wayland-egl/qwaylandeglwindow.h index 9f08559d1..d6708a342 100644 --- a/src/hardwareintegration/client/wayland-egl/qwaylandeglwindow.h +++ b/src/hardwareintegration/client/wayland-egl/qwaylandeglwindow.h @@ -76,7 +76,7 @@ private: const QWaylandWindow *m_parentWindow; mutable EGLSurface m_eglSurface; - mutable EGLConfig m_eglConfig; + EGLConfig m_eglConfig; mutable QOpenGLFramebufferObject *m_contentFBO; mutable bool m_resize; |