projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
288e4b1
)
identity: Propagate api->name and api->driver_name up
author
Jakob Bornecrantz
<jakob@vmware.com>
Thu, 18 Feb 2010 23:14:11 +0000
(23:14 +0000)
committer
Jakob Bornecrantz
<jakob@vmware.com>
Thu, 18 Feb 2010 23:17:48 +0000
(23:17 +0000)
src/gallium/drivers/identity/id_drm.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/identity/id_drm.c
b/src/gallium/drivers/identity/id_drm.c
index 12b516b445f1c440ab1725f7786f42673cd51f34..b89724e4f32185c050f10b71399520a68e65d2d6 100644
(file)
--- a/
src/gallium/drivers/identity/id_drm.c
+++ b/
src/gallium/drivers/identity/id_drm.c
@@
-142,6
+142,8
@@
identity_drm_create(struct drm_api *api)
if (!id_api)
goto error;
+ id_api->base.name = api->name;
+ id_api->base.driver_name = api->driver_name;
id_api->base.create_screen = identity_drm_create_screen;
id_api->base.texture_from_shared_handle = identity_drm_texture_from_shared_handle;
id_api->base.shared_handle_from_texture = identity_drm_shared_handle_from_texture;