mirror of
https://github.com/brl/mutter.git
synced 2024-12-23 11:32:04 +00:00
2008-02-25 Tomas Frydrych <tf@openedhand.com>
* clutter/clutter-texture.c: (texture_update_data): Set alignment based on actual data rowstride, not the texture width.
This commit is contained in:
parent
a9ff224ba1
commit
db5b80465a
@ -1,3 +1,10 @@
|
||||
2008-02-25 Tomas Frydrych <tf@openedhand.com>
|
||||
|
||||
* clutter/clutter-texture.c:
|
||||
(texture_update_data):
|
||||
Set alignment based on actual data rowstride, not the texture
|
||||
width.
|
||||
|
||||
2008-02-21 Tomas Frydrych <tf@openedhand.com>
|
||||
|
||||
* clutter/x11/clutter-backend-x11.h:
|
||||
|
@ -1989,7 +1989,7 @@ texture_update_data (ClutterTexture *texture,
|
||||
CLUTTER_NOTE (TEXTURE, "syncing for single tile");
|
||||
|
||||
cogl_texture_bind (priv->target_type, priv->tiles[0]);
|
||||
cogl_texture_set_alignment (priv->target_type, 4, priv->width);
|
||||
cogl_texture_set_alignment (priv->target_type, 4, rowstride/4);
|
||||
|
||||
cogl_texture_set_filters
|
||||
(priv->target_type,
|
||||
|
Loading…
Reference in New Issue
Block a user