summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCedric BAIL <cedric@osg.samsung.com>2015-08-21 16:07:16 +0200
committerCedric BAIL <cedric@osg.samsung.com>2015-08-21 16:40:34 +0200
commitb5d2cef660bc8e63074f1eada8fbd15392f2e3e3 (patch)
tree6321a2fca4d6d67f0b7015144c146fc6829a16f0
parent86b53cbefc3ca5d8d2e7bca4b9dff5438f1ef7b4 (diff)
ector: don't forget to reset cairo matrix to identity.
-rw-r--r--src/lib/ector/cairo/ector_renderer_cairo_base.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/ector/cairo/ector_renderer_cairo_base.c b/src/lib/ector/cairo/ector_renderer_cairo_base.c
index 5bf0f88e58..4f25b9e91b 100644
--- a/src/lib/ector/cairo/ector_renderer_cairo_base.c
+++ b/src/lib/ector/cairo/ector_renderer_cairo_base.c
@@ -184,6 +184,7 @@ _ector_renderer_cairo_base_ector_renderer_generic_base_draw(Eo *obj,
184 cairo_translate(pd->parent->cairo, cx, cy); 184 cairo_translate(pd->parent->cairo, cx, cy);
185 185
186 if (pd->m) cairo_transform(pd->parent->cairo, pd->m); 186 if (pd->m) cairo_transform(pd->parent->cairo, pd->m);
187 else cairo_transform(pd->parent->cairo, &identity);
187 188
188 cairo_set_source_rgba(pd->parent->cairo, r/255.0, g/255.0, b/255.0, a/255.0); 189 cairo_set_source_rgba(pd->parent->cairo, r/255.0, g/255.0, b/255.0, a/255.0);
189 190