summaryrefslogtreecommitdiffstats
path: root/src/hardwareintegration/client/libhybris-egl-server
diff options
context:
space:
mode:
authorJohan Klokkhammer Helsing <johan.helsing@qt.io>2018-02-28 12:30:33 +0100
committerJohan Helsing <johan.helsing@qt.io>2019-01-16 12:51:44 +0000
commit017e1fa058d133ff4943907bd97822344183a619 (patch)
tree7756a052245e5df74473d4c7eee2f3324e4938e0 /src/hardwareintegration/client/libhybris-egl-server
parenteef9f34e58465458420f6e1295bdce4a59702c54 (diff)
Member init for some variables that are not covered by constructors
Where it makes sense, default init variables to sensible values Change-Id: Ie2aa6ab79a6a3c8322bb0ff804f340f7ffd1c1d1 Reviewed-by: Pier Luigi Fiorini <pierluigi.fiorini@liri.io>
Diffstat (limited to 'src/hardwareintegration/client/libhybris-egl-server')
-rw-r--r--src/hardwareintegration/client/libhybris-egl-server/libhybriseglserverbufferintegration.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hardwareintegration/client/libhybris-egl-server/libhybriseglserverbufferintegration.h b/src/hardwareintegration/client/libhybris-egl-server/libhybriseglserverbufferintegration.h
index 0bfbe0ea4..588366aa7 100644
--- a/src/hardwareintegration/client/libhybris-egl-server/libhybriseglserverbufferintegration.h
+++ b/src/hardwareintegration/client/libhybris-egl-server/libhybriseglserverbufferintegration.h
@@ -118,7 +118,7 @@ private:
PFNGLEGLIMAGETARGETTEXTURE2DOESPROC m_gl_egl_image_target_texture;
PFNEGLHYBRISCREATEREMOTEBUFFERPROC m_egl_create_buffer;
QWaylandDisplay *m_display = nullptr;
- EGLDisplay m_egl_display;
+ EGLDisplay m_egl_display = EGL_NO_DISPLAY;
bool m_egl_initialized = false;
};