From 09b8172fb599c1a5dd1971eb4501304915034112 Mon Sep 17 00:00:00 2001 From: Emilio Pozuelo Monfort Date: Fri, 19 Aug 2011 13:42:54 +0100 Subject: Flip the preview in RoundedTexture->paint() We can't flip the preview clone that we're dragging because of https://bugzilla.gnome.org/show_bug.cgi?id=656894, so directly paint it flipped. Partly fixes: https://bugzilla.gnome.org/show_bug.cgi?id=656887 --- src/empathy-rounded-texture.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/empathy-rounded-texture.c') diff --git a/src/empathy-rounded-texture.c b/src/empathy-rounded-texture.c index eb0fbcb26..0619cd13e 100644 --- a/src/empathy-rounded-texture.c +++ b/src/empathy-rounded-texture.c @@ -45,6 +45,10 @@ empathy_rounded_texture_paint (ClutterActor *texture) CLUTTER_ACTOR_CLASS (empathy_rounded_texture_parent_class)->paint (texture); + /* Flip */ + cogl_rectangle_with_texture_coords (0, 0, width, height, + 1., 0., 0., 1.); + cogl_clip_pop (); } -- cgit v1.2.3