trace: Propagate api->name up
authorJakob Bornecrantz <jakob@vmware.com>
Thu, 18 Feb 2010 23:13:47 +0000 (23:13 +0000)
committerJakob Bornecrantz <jakob@vmware.com>
Thu, 18 Feb 2010 23:17:48 +0000 (23:17 +0000)
src/gallium/drivers/trace/tr_drm.c

index 919dc1b309fdac7c7537476e70c15190f14cf86e..b8adde77f109a29fa9682d388d3399da18be5491 100644 (file)
@@ -155,6 +155,7 @@ trace_drm_create(struct drm_api *api)
    if (!tr_api)
       goto error;
 
+   tr_api->base.name = api->name;
    tr_api->base.driver_name = api->driver_name;
    tr_api->base.create_screen = trace_drm_create_screen;
    tr_api->base.texture_from_shared_handle = trace_drm_texture_from_shared_handle;