diff options
author | Benjamin Franzke <[email protected]> | 2011-03-07 15:06:31 +0100 |
---|---|---|
committer | Kristian Høgsberg <[email protected]> | 2011-04-22 12:21:37 -0400 |
commit | b1a91722773152ea96de79d2b446ae488561bb0c (patch) | |
tree | e6c58e82614feec1c3091491ba7241c6b10073b4 /src/egl/drivers | |
parent | 5b2ff543ab784107a62ac405ed93fa1629a74cc4 (diff) |
egl/wayland: Update to buffer.damage addition
Diffstat (limited to 'src/egl/drivers')
-rw-r--r-- | src/egl/drivers/dri2/platform_wayland.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/egl/drivers/dri2/platform_wayland.c b/src/egl/drivers/dri2/platform_wayland.c index c0860a73778..030c68777af 100644 --- a/src/egl/drivers/dri2/platform_wayland.c +++ b/src/egl/drivers/dri2/platform_wayland.c @@ -488,6 +488,8 @@ dri2_swap_buffers(_EGLDriver *drv, _EGLDisplay *disp, _EGLSurface *draw) dri2_surf->dri_buffers[__DRI_BUFFER_FRONT_LEFT], dri2_surf->wl_win->visual); + wl_buffer_damage(dri2_surf->wl_drm_buffer[WL_BUFFER_FRONT], 0, 0, + dri2_surf->base.Width, dri2_surf->base.Height); wl_surface_attach(dri2_surf->wl_win->surface, dri2_surf->wl_drm_buffer[WL_BUFFER_FRONT], dri2_surf->dx, dri2_surf->dy); |