summaryrefslogtreecommitdiffstats
path: root/src/hardwareintegration/client/wayland-egl/qwaylandeglwindow.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/hardwareintegration/client/wayland-egl/qwaylandeglwindow.h')
-rw-r--r--src/hardwareintegration/client/wayland-egl/qwaylandeglwindow.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/hardwareintegration/client/wayland-egl/qwaylandeglwindow.h b/src/hardwareintegration/client/wayland-egl/qwaylandeglwindow.h
index 77aee56dc..94947365c 100644
--- a/src/hardwareintegration/client/wayland-egl/qwaylandeglwindow.h
+++ b/src/hardwareintegration/client/wayland-egl/qwaylandeglwindow.h
@@ -82,14 +82,14 @@ private Q_SLOTS:
private:
QWaylandEglClientBufferIntegration *m_clientBufferIntegration;
- struct wl_egl_window *m_waylandEglWindow;
+ struct wl_egl_window *m_waylandEglWindow = nullptr;
const QWaylandWindow *m_parentWindow;
- EGLSurface m_eglSurface;
+ EGLSurface m_eglSurface = EGL_NO_SURFACE;
EGLConfig m_eglConfig;
- mutable QOpenGLFramebufferObject *m_contentFBO;
- mutable bool m_resize;
+ mutable bool m_resize = false;
+ mutable QOpenGLFramebufferObject *m_contentFBO = nullptr;
QSurfaceFormat m_format;
};