From 37ba264190b52c54ebe60824f6868a22b219b8af Mon Sep 17 00:00:00 2001 From: Lionel Landwerlin Date: Mon, 2 Dec 2013 16:13:46 +0000 Subject: [PATCH] compositor: meta-surface-actor: upload texture changes at the correct position https://bugzilla.gnome.org/show_bug.cgi?id=719695 --- 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 ccc10adcc..540c7f49c 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_set_region_from_shm_buffer (texture, x, y, width, height, shm_buffer, 0, 0, 0, NULL); + cogl_wayland_texture_set_region_from_shm_buffer (texture, x, y, width, height, shm_buffer, x, y, 0, NULL); } } else