diff options
author | Emilio Pozuelo Monfort <emilio.pozuelo@collabora.co.uk> | 2011-08-19 20:42:54 +0800 |
---|---|---|
committer | Emilio Pozuelo Monfort <emilio.pozuelo@collabora.co.uk> | 2011-08-19 20:42:54 +0800 |
commit | 09b8172fb599c1a5dd1971eb4501304915034112 (patch) | |
tree | 8512ba6c29ee4400822aeb831b24ed80daea0f9e /src/empathy-rounded-texture.c | |
parent | cf84d9a8617e31a5b0a51ed5d56df661ec8f1ede (diff) | |
download | gsoc2013-empathy-09b8172fb599c1a5dd1971eb4501304915034112.tar gsoc2013-empathy-09b8172fb599c1a5dd1971eb4501304915034112.tar.gz gsoc2013-empathy-09b8172fb599c1a5dd1971eb4501304915034112.tar.bz2 gsoc2013-empathy-09b8172fb599c1a5dd1971eb4501304915034112.tar.lz gsoc2013-empathy-09b8172fb599c1a5dd1971eb4501304915034112.tar.xz gsoc2013-empathy-09b8172fb599c1a5dd1971eb4501304915034112.tar.zst gsoc2013-empathy-09b8172fb599c1a5dd1971eb4501304915034112.zip |
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
Diffstat (limited to 'src/empathy-rounded-texture.c')
-rw-r--r-- | src/empathy-rounded-texture.c | 4 |
1 files changed, 4 insertions, 0 deletions
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 (); } |