Mesa (master): trace: Propagate api->name up

Jakob Bornecrantz wallbraker at kemper.freedesktop.org
Thu Feb 18 23:17:59 UTC 2010


Module: Mesa
Branch: master
Commit: 288e4b15e08fc4c9c94f4a09885cc2c2a073bc3c
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=288e4b15e08fc4c9c94f4a09885cc2c2a073bc3c

Author: Jakob Bornecrantz <jakob at vmware.com>
Date:   Thu Feb 18 23:13:47 2010 +0000

trace: Propagate api->name up

---

 src/gallium/drivers/trace/tr_drm.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/src/gallium/drivers/trace/tr_drm.c b/src/gallium/drivers/trace/tr_drm.c
index 919dc1b..b8adde7 100644
--- a/src/gallium/drivers/trace/tr_drm.c
+++ b/src/gallium/drivers/trace/tr_drm.c
@@ -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;




More information about the mesa-commit mailing list