mirror of
https://gitlab.freedesktop.org/mesa/drm.git
synced 2025-12-25 00:10:11 +01:00
[intel_bufmgr_gem] Remember global name when creating buffer from name.
This commit is contained in:
parent
c8fd8d3a0d
commit
0239594fc3
1 changed files with 1 additions and 0 deletions
|
|
@ -369,6 +369,7 @@ intel_bo_gem_create_from_name(dri_bufmgr *bufmgr, const char *name,
|
|||
bo_gem->refcount = 1;
|
||||
bo_gem->validate_index = -1;
|
||||
bo_gem->gem_handle = open_arg.handle;
|
||||
bo_gem->global_name = handle;
|
||||
|
||||
DBG("bo_create_from_handle: %d (%s)\n", handle, bo_gem->name);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue