mirror of
https://github.com/brl/mutter.git
synced 2024-11-23 08:30:42 -05:00
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:
parent
161163cf14
commit
14de7190d2
@ -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):
|
||||
|
@ -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++;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user