The surface and context should not be current when deleted.
Evas GL would work just fine but since it deletes the surface
and context immediately upon request, those should not be
current.
This is a slightly different behaviour from EGL.
ELM_WIDGET_DATA_GET_OR_RETURN(obj, wd);
if (!sd) return;
+ evas_gl_make_current(sd->evasgl, NULL, NULL);
+
if (sd->surface)
{
evas_object_image_native_surface_set(wd->resize_obj, NULL);
}
ecore_idle_enterer_del(sd->render_idle_enterer);
+ evas_gl_make_current(sd->evasgl, NULL, NULL);
if (sd->surface)
{