[test-depth] Use a gint for width, not guint, when calculating -width/2
It was a fluke that this worked out due to how clutter_actor_set_depth internally converts the incorrect integer result to fixed point.
This commit is contained in:
parent
5d5b93bd2a
commit
cc8cd8392f
@ -26,7 +26,7 @@ raise_top (gpointer ignored)
|
|||||||
static ClutterActor *
|
static ClutterActor *
|
||||||
clone_box (ClutterTexture *original)
|
clone_box (ClutterTexture *original)
|
||||||
{
|
{
|
||||||
guint width, height;
|
gint width, height;
|
||||||
ClutterActor *group;
|
ClutterActor *group;
|
||||||
ClutterActor *clone;
|
ClutterActor *clone;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user