From da01ffa839fb277f1b3ca30b77faab7362e8c3d5 Mon Sep 17 00:00:00 2001 From: Roman Marchenko Date: Thu, 26 May 2016 13:37:30 +0300 Subject: allow creating tbo with TBM_BO_SCANOUT flag Change-Id: Id85b91cb483e417f20228ad888da41ab122538c9 Signed-off-by: Roman Marchenko --- src/tbm_bufmgr_shm.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/tbm_bufmgr_shm.c b/src/tbm_bufmgr_shm.c index 6bb4bac..e6d43dd 100644 --- a/src/tbm_bufmgr_shm.c +++ b/src/tbm_bufmgr_shm.c @@ -236,7 +236,6 @@ tbm_shm_bo_alloc (tbm_bo bo, int size, int flags) { TBM_SHM_LOG ("[libtbm-shm:%d] warning %s:%d TBM_BO_SCANOUT ins't supported\n", getpid(), __FUNCTION__, __LINE__); - return 0; } bo_shm = calloc (1, sizeof(struct _tbm_bo_shm)); -- cgit v1.2.3