[mutter/wayland] compositor: meta-surface-actor: upload texture changes at the correct position



commit 37ba264190b52c54ebe60824f6868a22b219b8af
Author: Lionel Landwerlin <llandwerlin gmail com>
Date:   Mon Dec 2 16:13:46 2013 +0000

    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 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/compositor/meta-surface-actor.c b/src/compositor/meta-surface-actor.c
index ccc10ad..540c7f4 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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]