diff options
author | Jakob Bornecrantz <jakob@vmware.com> | 2010-02-18 23:14:11 +0000 |
---|---|---|
committer | Jakob Bornecrantz <jakob@vmware.com> | 2010-02-18 23:17:48 +0000 |
commit | 2ecdc2ecec6c371439ea21ed40de090f822dd728 (patch) | |
tree | 9b5925141a7c7b1af4663967b377c76eef63372f /src/gallium/drivers/identity | |
parent | 288e4b15e08fc4c9c94f4a09885cc2c2a073bc3c (diff) |
identity: Propagate api->name and api->driver_name up
Diffstat (limited to 'src/gallium/drivers/identity')
-rw-r--r-- | src/gallium/drivers/identity/id_drm.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/identity/id_drm.c b/src/gallium/drivers/identity/id_drm.c index 12b516b445..b89724e4f3 100644 --- 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; |