summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStanislav Vorobiov <s.vorobiov@samsung.com>2013-07-11 13:37:13 +0400
committerStanislav Vorobiov <s.vorobiov@samsung.com>2013-07-11 13:37:13 +0400
commitf6de9333426edd15261d2ec4d006272633c1373c (patch)
tree21e0d88ca6d4fe1dd0eeebcc51d3cb67f71b21a7
parent29d4da86a5cce7da77a9e4e7d702481fd2ca330d (diff)
downloadlibtbm-vigs-f6de9333426edd15261d2ec4d006272633c1373c.tar.gz
libtbm-vigs-f6de9333426edd15261d2ec4d006272633c1373c.tar.bz2
libtbm-vigs-f6de9333426edd15261d2ec4d006272633c1373c.zip
Updated for libdrm changes
Change-Id: I003e70d07018665b91f1d130c90acafd8b3e2a88
-rw-r--r--src/tbm_bufmgr_emulator.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tbm_bufmgr_emulator.c b/src/tbm_bufmgr_emulator.c
index c127997..7476e92 100644
--- a/src/tbm_bufmgr_emulator.c
+++ b/src/tbm_bufmgr_emulator.c
@@ -23,7 +23,7 @@ static tbm_bo_handle get_tbm_bo_handle(struct vigs_drm_gem *gem,
bo_handle.u32 = gem->handle;
break;
case TBM_DEVICE_CPU:
- ret = vigs_drm_gem_map(gem);
+ ret = vigs_drm_gem_map(gem, 1);
if (ret == 0) {
bo_handle.ptr = gem->vaddr;