evas/map: Add FIXME comment to remember that it's just a workaround.

This commit is contained in:
Rafael Antognolli 2013-06-13 19:15:31 -03:00
parent f43ac1a181
commit d44a69f911
1 changed files with 4 additions and 0 deletions

View File

@ -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;