summaryrefslogtreecommitdiffstats
path: root/src/gallium
diff options
context:
space:
mode:
authorBenjamin Franzke <[email protected]>2011-03-07 15:06:31 +0100
committerKristian Høgsberg <[email protected]>2011-04-22 12:21:37 -0400
commitb1a91722773152ea96de79d2b446ae488561bb0c (patch)
treee6c58e82614feec1c3091491ba7241c6b10073b4 /src/gallium
parent5b2ff543ab784107a62ac405ed93fa1629a74cc4 (diff)
egl/wayland: Update to buffer.damage addition
Diffstat (limited to 'src/gallium')
-rw-r--r--src/gallium/state_trackers/egl/wayland/native_wayland.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/state_trackers/egl/wayland/native_wayland.c b/src/gallium/state_trackers/egl/wayland/native_wayland.c
index 236bad9afbf..b9cf8c48f1e 100644
--- a/src/gallium/state_trackers/egl/wayland/native_wayland.c
+++ b/src/gallium/state_trackers/egl/wayland/native_wayland.c
@@ -380,6 +380,7 @@ 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);
}