diff options
author | Benjamin Franzke <[email protected]> | 2011-04-21 10:51:14 +0200 |
---|---|---|
committer | Kristian Høgsberg <[email protected]> | 2011-04-22 08:56:33 -0400 |
commit | f09c66b3cc9542b0a8f795e34b882c2b8f9f26f7 (patch) | |
tree | 3657e7a260a534b5282f71280278418cb411cb18 /src/egl/wayland | |
parent | 1617b268ef79bd7dc527f6dc65f3ef0d3c51a77d (diff) |
egl_dri2: Create wl_buffers for pixmap surfaces
Needed since wayland-egl doesnt do this anymore.
Diffstat (limited to 'src/egl/wayland')
-rw-r--r-- | src/egl/wayland/wayland-egl/wayland-egl.c | 2 |
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; } |