projects
/
platform
/
core
/
uifw
/
libtbm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3b0f7d9
)
Fix checking backend function
36/59736/1
author
Changyeon Lee
<cyeon.lee@samsung.com>
Thu, 18 Feb 2016 01:52:58 +0000
(10:52 +0900)
committer
Changyeon Lee
<cyeon.lee@samsung.com>
Thu, 18 Feb 2016 05:01:16 +0000
(14:01 +0900)
Change-Id: I79ca8864a290b0ddb42a83b96c13542f81cb98ce
Signed-off-by: Changyeon Lee <cyeon.lee@samsung.com>
src/tbm_bufmgr_backend.c
patch
|
blob
|
history
diff --git
a/src/tbm_bufmgr_backend.c
b/src/tbm_bufmgr_backend.c
index 83c4078c4c2488370192e5874d9aca1f5c145585..bdf32e6331043f6eee44a277710e951e570b1744 100644
(file)
--- a/
src/tbm_bufmgr_backend.c
+++ b/
src/tbm_bufmgr_backend.c
@@
-73,7
+73,7
@@
int tbm_backend_init(tbm_bufmgr bufmgr, tbm_bufmgr_backend backend)
flags = backend->flags;
/* check the backend flags */
- if (
!(flags & TBM_CACHE_CTRL_BACKEND)
) {
+ if (
flags & TBM_CACHE_CTRL_BACKEND
) {
if (!backend->bo_cache_flush) {
TBM_LOG("[libtbm:%d] " "error (%s): TBM_FLAG_CACHE_CTRL_TBM needs backend->bo_cache_flush\n", getpid(), __FUNCTION__);
return 0;