diff options
author | Johan Klokkhammer Helsing <johan.helsing@qt.io> | 2018-02-28 12:30:33 +0100 |
---|---|---|
committer | Johan Helsing <johan.helsing@qt.io> | 2019-01-16 12:51:44 +0000 |
commit | 017e1fa058d133ff4943907bd97822344183a619 (patch) | |
tree | 7756a052245e5df74473d4c7eee2f3324e4938e0 /src/hardwareintegration/compositor/drm-egl-server | |
parent | eef9f34e58465458420f6e1295bdce4a59702c54 (diff) | |
download | qtwayland-017e1fa058d133ff4943907bd97822344183a619.tar.gz |
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/compositor/drm-egl-server')
-rw-r--r-- | src/hardwareintegration/compositor/drm-egl-server/drmeglserverbufferintegration.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hardwareintegration/compositor/drm-egl-server/drmeglserverbufferintegration.h b/src/hardwareintegration/compositor/drm-egl-server/drmeglserverbufferintegration.h index ff329c1a..214a03fd 100644 --- a/src/hardwareintegration/compositor/drm-egl-server/drmeglserverbufferintegration.h +++ b/src/hardwareintegration/compositor/drm-egl-server/drmeglserverbufferintegration.h @@ -116,7 +116,7 @@ public: inline void glEGLImageTargetTexture2DOES (GLenum target, GLeglImageOES image); private: - EGLDisplay m_egl_display; + EGLDisplay m_egl_display = EGL_NO_DISPLAY; PFNEGLCREATEDRMIMAGEMESAPROC m_egl_create_drm_image; PFNEGLEXPORTDRMIMAGEMESAPROC m_egl_export_drm_image; PFNGLEGLIMAGETARGETTEXTURE2DOESPROC m_gl_egl_image_target_texture_2d; |