This has become not only a write-only variable, but also incorrectly set.
Just remove it.
}
}
- s->type = SURFACE_DMABUF;
s->funcs.destroy = _evas_dmabuf_surface_destroy;
s->funcs.reconfigure = _evas_dmabuf_surface_reconfigure;
s->funcs.data_get = _evas_dmabuf_surface_data_get;
typedef struct _Surface Surface;
struct _Surface
{
- Ecore_Wl2_Buffer_Type type;
Outbuf *ob;
union
{
out = calloc(1, sizeof(*out));
if (!out) return NULL;
- out->type = SURFACE_EMPTY;
out->info = info;
out->ob = ob;