mirror of
https://github.com/brl/mutter.git
synced 2024-11-12 17:27:03 -05:00
cairo-texture: Drop the half pixel rounding
Calling ceilf() should be enough. https://bugzilla.gnome.org/show_bug.cgi?id=661887
This commit is contained in:
parent
41d04f3611
commit
d97a8c431b
@ -464,8 +464,8 @@ clutter_cairo_texture_allocate (ClutterActor *self,
|
||||
|
||||
clutter_actor_box_get_size (allocation, &width, &height);
|
||||
|
||||
priv->surface_width = ceilf (width + 0.5);
|
||||
priv->surface_height = ceilf (height + 0.5);
|
||||
priv->surface_width = ceilf (width);
|
||||
priv->surface_height = ceilf (height);
|
||||
|
||||
clutter_cairo_texture_surface_resize_internal (texture);
|
||||
clutter_cairo_texture_invalidate (texture);
|
||||
|
Loading…
Reference in New Issue
Block a user