forked from enlightenment/enlightenment
using pixmap w/h directly for comp mirrors is probably infinitesimally faster here
This commit is contained in:
parent
29be7a23ba
commit
4bbafeebb3
|
@ -1962,7 +1962,7 @@ _e_comp_win_mirror_add(E_Comp_Win *cw)
|
||||||
Eina_Bool alpha, argb = EINA_FALSE;
|
Eina_Bool alpha, argb = EINA_FALSE;
|
||||||
|
|
||||||
alpha = evas_object_image_alpha_get(cw->obj);
|
alpha = evas_object_image_alpha_get(cw->obj);
|
||||||
evas_object_image_size_get(cw->obj, &w, &h);
|
w = cw->pw, h = cw->ph;
|
||||||
|
|
||||||
evas_object_image_alpha_set(o, alpha);
|
evas_object_image_alpha_set(o, alpha);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue