summaryrefslogtreecommitdiffstats
path: root/src/egl/drivers
diff options
context:
space:
mode:
authorKristian Høgsberg <[email protected]>2012-03-27 08:09:32 -0400
committerKristian Høgsberg <[email protected]>2012-03-27 08:28:07 -0400
commit03eca9d92d407c71a59ff8a43067759769da0ae4 (patch)
treeceba56a55c5b3993065dd580c2365405550c6e50 /src/egl/drivers
parent03f617f413ce0d24ac3c162337d06a24856198ff (diff)
wayland: Stop using wl_buffer.damage
Diffstat (limited to 'src/egl/drivers')
-rw-r--r--src/egl/drivers/dri2/platform_wayland.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/egl/drivers/dri2/platform_wayland.c b/src/egl/drivers/dri2/platform_wayland.c
index 0f439c71107..d291f0ffa40 100644
--- a/src/egl/drivers/dri2/platform_wayland.c
+++ b/src/egl/drivers/dri2/platform_wayland.c
@@ -598,8 +598,6 @@ dri2_swap_buffers(_EGLDriver *drv, _EGLDisplay *disp, _EGLSurface *draw)
wayland_create_buffer(dri2_surf,
dri2_surf->dri_buffers[__DRI_BUFFER_FRONT_LEFT]);
- 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);