From b5cc246f599624335ae72e61cca1c98b7ac84c95 Mon Sep 17 00:00:00 2001 From: Matthew Allum Date: Sun, 12 Aug 2007 21:30:14 +0000 Subject: [PATCH] 2007-08-12 Matthew Allum * clutter/clutter-texture.c: (texture_upload_data): Align texture data correctly for edge tiles. (#422 - Neil Roberts) --- clutter/clutter-texture.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/clutter/clutter-texture.c b/clutter/clutter-texture.c index 7286db41e..8626c7533 100644 --- a/clutter/clutter-texture.c +++ b/clutter/clutter-texture.c @@ -556,7 +556,8 @@ texture_upload_data (ClutterTexture *texture, cogl_texture_bind (priv->target_type, priv->tiles[i]); - cogl_texture_set_alignment (priv->target_type, 4, src_w); + cogl_texture_set_alignment (priv->target_type, + 4, priv->x_tiles[x].size); cogl_texture_set_filters (priv->target_type,