summaryrefslogtreecommitdiffstats
path: root/src/egl/wayland/wayland-egl
diff options
context:
space:
mode:
Diffstat (limited to 'src/egl/wayland/wayland-egl')
-rw-r--r--src/egl/wayland/wayland-egl/wayland-egl.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/egl/wayland/wayland-egl/wayland-egl.c b/src/egl/wayland/wayland-egl/wayland-egl.c
index 891a497d1d1..3e1a9c45bdc 100644
--- a/src/egl/wayland/wayland-egl/wayland-egl.c
+++ b/src/egl/wayland/wayland-egl/wayland-egl.c
@@ -79,6 +79,8 @@ wl_egl_pixmap_create(int width, int height,
egl_pixmap->visual = visual;
egl_pixmap->destroy = NULL;
+ egl_pixmap->buffer = NULL;
+ egl_pixmap->driver_private = NULL;
return egl_pixmap;
}