This can happen when rapidly opening & closing windows and when
engines are swapped between shm & egl programmatically.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@74616
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
Render_Engine *re;
re = (Render_Engine *)data;
+ if ((!re) || (!re->win)) return;
+
eng_window_use(re->win);
evas_gl_common_context_resize(re->win->gl_context, re->win->w, re->win->h, re->win->rot);
evas_common_tilebuf_add_redraw(re->tb, x, y, w, h);
eng_canvas_alpha_get(void *data, void *info __UNUSED__)
{
Render_Engine *re = (Render_Engine *)data;
+
+ if ((!re) || (!re->win)) return EINA_FALSE;
return re->win->alpha;
}