aboutsummaryrefslogtreecommitdiffstats
path: root/src/egl/wayland/wayland-egl.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/egl/wayland/wayland-egl.c')
-rw-r--r--src/egl/wayland/wayland-egl.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/egl/wayland/wayland-egl.c b/src/egl/wayland/wayland-egl.c
index 6aa2d51063a..bb95fcbf590 100644
--- a/src/egl/wayland/wayland-egl.c
+++ b/src/egl/wayland/wayland-egl.c
@@ -102,6 +102,7 @@ wl_egl_display_create(struct wl_display *display)
egl_display->display = display;
egl_display->drm = NULL;
+ egl_display->fd = -1;
egl_display->device_name = NULL;
egl_display->authenticated = false;