wayland_shm: Become unhoseable

Now that shm is handled through these paths the dmabuf_totally_hosed state
is nonsense.
This commit is contained in:
Derek Foreman 2017-11-13 15:16:26 -06:00
parent 2071122f01
commit 66f85dd06c
1 changed files with 0 additions and 4 deletions

View File

@ -24,8 +24,6 @@
} \
} while (0)
static Eina_Bool dmabuf_totally_hosed;
static int drm_fd = -1;
typedef struct _Dmabuf_Surface Dmabuf_Surface;
@ -446,7 +444,6 @@ err_bm:
err_drm:
free(buffer_manager);
err_alloc:
dmabuf_totally_hosed = EINA_TRUE;
return EINA_FALSE;
}
@ -749,7 +746,6 @@ _evas_dmabuf_surface_create(Surface *s, int w, int h, int num_buff)
Dmabuf_Surface *surf = NULL;
int i = 0;
if (dmabuf_totally_hosed) return EINA_FALSE;
if (ecore_wl2_display_shm_get(s->info->info.wl2_display))
types |= ECORE_WL2_BUFFER_SHM;
if (ecore_wl2_display_dmabuf_get(s->info->info.wl2_display))