summaryrefslogtreecommitdiff
path: root/libdrm
diff options
context:
space:
mode:
Diffstat (limited to 'libdrm')
-rw-r--r--libdrm/intel/intel_bufmgr_gem.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libdrm/intel/intel_bufmgr_gem.c b/libdrm/intel/intel_bufmgr_gem.c
index 54c800aa..48a47701 100644
--- a/libdrm/intel/intel_bufmgr_gem.c
+++ b/libdrm/intel/intel_bufmgr_gem.c
@@ -844,10 +844,10 @@ dri_gem_flink(dri_bo *bo, uint32_t *name)
ret = ioctl(bufmgr_gem->fd, DRM_IOCTL_GEM_FLINK, &flink);
if (ret != 0)
return -errno;
- bo_gem->gem_handle = flink.name;
+ bo_gem->global_name = flink.name;
}
- *name = bo_gem->gem_handle;
+ *name = bo_gem->global_name;
return 0;
}