summaryrefslogtreecommitdiff
path: root/src/egl/wayland
diff options
context:
space:
mode:
Diffstat (limited to 'src/egl/wayland')
-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 6aa2d51063..bb95fcbf59 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;