st/egl: Also remove wl_buffer_damage in wayland backend
authorBenjamin Franzke <benjaminfranzke@googlemail.com>
Tue, 27 Mar 2012 16:50:30 +0000 (18:50 +0200)
committerBenjamin Franzke <benjaminfranzke@googlemail.com>
Tue, 27 Mar 2012 16:51:53 +0000 (18:51 +0200)
As commit 03eca9d92d407c71a59ff8a43067759769da0ae4 does for egl_dri2.

src/gallium/state_trackers/egl/wayland/native_wayland.c

index dfaa50f1a8a53ca5d438b6f115871dcb4c8d4834..a7f9cb7150bf2a20c9bbaf10fac485d16489bf30 100644 (file)
@@ -348,7 +348,6 @@ wayland_surface_present(struct native_surface *nsurf,
 
    if (surface->type == WL_WINDOW_SURFACE) {
       resource_surface_get_size(surface->rsurf, &width, &height);
-      wl_buffer_damage(surface->buffer[WL_BUFFER_FRONT], 0, 0, width, height);
       wl_surface_damage(surface->win->surface, 0, 0, width, height);
    }