mirror of
https://github.com/brl/mutter.git
synced 2025-02-17 05:44:08 +00: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>
|
2008-02-12 Tomas Frydrych <tf@openedhand.com>
|
||||||
|
|
||||||
* clutter/clutter-texture.c (texture_update_data):
|
* clutter/clutter-texture.c (texture_update_data):
|
||||||
|
@ -2119,7 +2119,7 @@ texture_update_data (ClutterTexture *texture,
|
|||||||
effective_height,
|
effective_height,
|
||||||
priv->pixel_format,
|
priv->pixel_format,
|
||||||
priv->pixel_type,
|
priv->pixel_type,
|
||||||
data + (master_offset_y * width + master_offset_x) * 4);
|
data + (master_offset_y * priv->width + master_offset_x) * 4);
|
||||||
|
|
||||||
i++;
|
i++;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user