diff options
author | Inho Lee <inho.lee@qt.io> | 2021-11-05 13:35:55 +0100 |
---|---|---|
committer | Inho Lee <inho.lee@qt.io> | 2022-02-11 13:00:03 +0100 |
commit | 3d0c2db1673c2d594014712030ed3f5217969872 (patch) | |
tree | a377aa2b2a807a78078f0bfdd0a56c46adcb2dcf /src/hardwareintegration/client/wayland-egl/qwaylandeglwindow.h | |
parent | e0d6f3cec32b3ce9666ff768cf98ee9c1bd2de79 (diff) |
Don't keep eglConfig in hardwareintegration
There is no reason to keep eglConfig value as a member variable. Even
this can result in creating wrong surface from the current surface.
And it makes no sense to change alpha bits of the surface format by
supporting decorations.
Task-number: QTBUG-97916
Change-Id: Iaa395d36e83373ea197dc5e14424fcb62cd2cd8b
(cherry picked from commit af884d4aac18e5155649f8a916ea272c11542b7e)
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Seokha Ko <seokha.ko@qt.io>
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>
Diffstat (limited to 'src/hardwareintegration/client/wayland-egl/qwaylandeglwindow.h')
-rw-r--r-- | src/hardwareintegration/client/wayland-egl/qwaylandeglwindow.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/hardwareintegration/client/wayland-egl/qwaylandeglwindow.h b/src/hardwareintegration/client/wayland-egl/qwaylandeglwindow.h index aa3aa2791..9727f5348 100644 --- a/src/hardwareintegration/client/wayland-egl/qwaylandeglwindow.h +++ b/src/hardwareintegration/client/wayland-egl/qwaylandeglwindow.h @@ -83,7 +83,6 @@ private: const QWaylandWindow *m_parentWindow = nullptr; EGLSurface m_eglSurface = EGL_NO_SURFACE; - EGLConfig m_eglConfig; mutable bool m_resize = false; mutable QOpenGLFramebufferObject *m_contentFBO = nullptr; |