summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoman Marchenko <r.marchenko@samsung.com>2016-05-26 13:37:30 +0300
committerRoman Marchenko <r.marchenko@samsung.com>2016-05-26 13:40:18 +0300
commitda01ffa839fb277f1b3ca30b77faab7362e8c3d5 (patch)
tree1ebd548817a8a7264de208669d6daf60797f2377
parentb86c3f59e918a7be112a961d1ca40639c8c0cc6a (diff)
downloadlibtbm-shm-da01ffa839fb277f1b3ca30b77faab7362e8c3d5.tar.gz
libtbm-shm-da01ffa839fb277f1b3ca30b77faab7362e8c3d5.tar.bz2
libtbm-shm-da01ffa839fb277f1b3ca30b77faab7362e8c3d5.zip
allow creating tbo with TBM_BO_SCANOUT flag
Change-Id: Id85b91cb483e417f20228ad888da41ab122538c9 Signed-off-by: Roman Marchenko <r.marchenko@samsung.com>
-rw-r--r--src/tbm_bufmgr_shm.c1
1 files changed, 0 insertions, 1 deletions
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));