forked from enlightenment/efl
wayland_shm: Remove surface_type from surface
This has become not only a write-only variable, but also incorrectly set. Just remove it.
This commit is contained in:
parent
c6b0328150
commit
f9ff2e4fa5
|
@ -783,7 +783,6 @@ _evas_dmabuf_surface_create(Surface *s, int w, int h, int num_buff)
|
|||
}
|
||||
}
|
||||
|
||||
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;
|
||||
|
|
|
@ -86,7 +86,6 @@ enum _Ecore_Wl2_Buffer_Type
|
|||
typedef struct _Surface Surface;
|
||||
struct _Surface
|
||||
{
|
||||
Ecore_Wl2_Buffer_Type type;
|
||||
Outbuf *ob;
|
||||
union
|
||||
{
|
||||
|
|
|
@ -16,7 +16,6 @@ _evas_surface_create(Evas_Engine_Info_Wayland *info, int w, int h, Outbuf *ob)
|
|||
|
||||
out = calloc(1, sizeof(*out));
|
||||
if (!out) return NULL;
|
||||
out->type = SURFACE_EMPTY;
|
||||
out->info = info;
|
||||
out->ob = ob;
|
||||
|
||||
|
|
Loading…
Reference in New Issue