summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRafael Antognolli <rafael.antognolli@intel.com>2013-06-13 19:15:31 -0300
committerRafael Antognolli <rafael.antognolli@intel.com>2013-06-13 19:16:23 -0300
commitd44a69f911fd93e22f51c9ef839329d7d7fe9059 (patch)
treeeb160d5ef89a3e5b3c2d74112b29047ad40c0c68
parentf43ac1a181f7e74ee9a9c32126a9f632ebd47d37 (diff)
downloadefl-d44a69f911fd93e22f51c9ef839329d7d7fe9059.tar.gz
evas/map: Add FIXME comment to remember that it's just a workaround.
-rw-r--r--src/lib/evas/canvas/evas_map.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/lib/evas/canvas/evas_map.c b/src/lib/evas/canvas/evas_map.c
index a80678dccf..66843da18e 100644
--- a/src/lib/evas/canvas/evas_map.c
+++ b/src/lib/evas/canvas/evas_map.c
@@ -1294,6 +1294,10 @@ evas_object_map_update(Evas_Object *eo_obj,
pt->x = (lround(p->x) + x) * FP1;
pt->y = (lround(p->y) + y) * FP1;
pt->z = (lround(p->z) ) * FP1;
+ /* FIXME: Adding the framespace is a workaround for a bug on the EGL
+ * wayland backend, which does not affect other ports. Remove this when
+ * it is correctly handled inside the GL rendering code, which handles
+ * maps with perspective set. */
pt->fx = p->px + obj->layer->evas->framespace.x;
pt->fy = p->py + obj->layer->evas->framespace.y;
pt->fz = p->z;