fix comp mirrors to work with gl engines...

This commit is contained in:
Carsten Haitzler 2013-05-19 23:44:15 +09:00
parent 5548e4afa7
commit 4ca3e80d2b
1 changed files with 2 additions and 1 deletions

View File

@ -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,8 +1997,8 @@ _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);
}
evas_object_image_size_set(o, w, h);
}
else if (cw->real_obj)
{