From 6c12c928df2f21db646380d28f3a79b44c76b385 Mon Sep 17 00:00:00 2001 From: Colin Walters Date: Fri, 29 Nov 2013 09:42:50 -0500 Subject: [PATCH] compositor: Update to latest cogl API See https://git.gnome.org/browse/cogl/commit/?id=c76c1d136d2cac7f3d1331a4d1dc0dd0f06e812c https://bugzilla.gnome.org/show_bug.cgi?id=719557 --- src/compositor/meta-surface-actor.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/compositor/meta-surface-actor.c b/src/compositor/meta-surface-actor.c index ff71b4618..ccc10adcc 100644 --- a/src/compositor/meta-surface-actor.c +++ b/src/compositor/meta-surface-actor.c @@ -111,7 +111,7 @@ update_area (MetaSurfaceActor *self, if (shm_buffer) { CoglTexture2D *texture = COGL_TEXTURE_2D (priv->buffer->texture); - cogl_wayland_texture_2d_update_area (texture, shm_buffer, x, y, width, height); + cogl_wayland_texture_set_region_from_shm_buffer (texture, x, y, width, height, shm_buffer, 0, 0, 0, NULL); } } else