forked from enlightenment/enlightenment
fix comp mirrors to work with gl engines...
This commit is contained in:
parent
5548e4afa7
commit
4ca3e80d2b
|
@ -1976,6 +1976,7 @@ _e_comp_win_mirror_add(E_Comp_Win *cw)
|
|||
{
|
||||
Evas_Native_Surface ns;
|
||||
|
||||
evas_object_image_size_set(o, w, h);
|
||||
ns.version = EVAS_NATIVE_SURFACE_VERSION;
|
||||
ns.type = EVAS_NATIVE_SURFACE_X11;
|
||||
ns.data.x11.visual = cw->vis;
|
||||
|
@ -1996,9 +1997,9 @@ _e_comp_win_mirror_add(E_Comp_Win *cw)
|
|||
evas_object_image_data_set(o, pix);
|
||||
if (!argb)
|
||||
evas_object_image_data_set(cw->obj, pix);
|
||||
}
|
||||
evas_object_image_size_set(o, w, h);
|
||||
}
|
||||
}
|
||||
else if (cw->real_obj)
|
||||
{
|
||||
/* FIXME: the first mirror shown with vsync enabled won't render immediately */
|
||||
|
|
Loading…
Reference in New Issue