wayland: Stop using wl_buffer.damage
authorKristian Høgsberg <krh@bitplanet.net>
Tue, 27 Mar 2012 12:09:32 +0000 (08:09 -0400)
committerKristian Høgsberg <krh@bitplanet.net>
Tue, 27 Mar 2012 12:28:07 +0000 (08:28 -0400)
src/egl/drivers/dri2/platform_wayland.c

index 0f439c7110764a2e5335b910f760651031f917d1..d291f0ffa40230dc92ab4af269bb135955142536 100644 (file)
@@ -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);