2008-02-12 Tomas Frydrych <tf@openedhand.com>

* clutter/clutter-texture.c (texture_update_data):
	Fixed incorrect calculation of offset into texture data (needs to
	use width of the texture, not of the updated area).
This commit is contained in:
Tomas Frydrych 2008-02-12 13:41:44 +00:00
parent 161163cf14
commit 14de7190d2
2 changed files with 35 additions and 29 deletions

View File

@ -1,3 +1,9 @@
2008-02-12 Tomas Frydrych <tf@openedhand.com>
* clutter/clutter-texture.c (texture_update_data):
Fixed incorrect calculation of offset into texture data (needs to
use width of the texture, not of the updated area).
2008-02-12 Tomas Frydrych <tf@openedhand.com>
* clutter/clutter-texture.c (texture_update_data):

View File

@ -2119,7 +2119,7 @@ texture_update_data (ClutterTexture *texture,
effective_height,
priv->pixel_format,
priv->pixel_type,
data + (master_offset_y * width + master_offset_x) * 4);
data + (master_offset_y * priv->width + master_offset_x) * 4);
i++;
}