compositor: meta-surface-actor: upload texture changes at the correct position

https://bugzilla.gnome.org/show_bug.cgi?id=719695
This commit is contained in:
Lionel Landwerlin 2013-12-02 16:13:46 +00:00
parent 6c12c928df
commit 37ba264190

View File

@ -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