summaryrefslogtreecommitdiff
path: root/src/gallium
diff options
context:
space:
mode:
authorJakob Bornecrantz <jakob@vmware.com>2009-08-05 18:55:57 +0100
committerJakob Bornecrantz <jakob@vmware.com>2009-08-05 19:29:29 +0100
commit1f9ee623d185aea24195ffaefd77b953eefea107 (patch)
treeb70462efd80952fccaad17d58f3633f78e99b5d4 /src/gallium
parent6160c8be5748455574ddde8ac373e14d86c4f3a9 (diff)
trace: Use correct texture in drm_api wrapper
Diffstat (limited to 'src/gallium')
-rw-r--r--src/gallium/drivers/trace/tr_drm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/trace/tr_drm.c b/src/gallium/drivers/trace/tr_drm.c
index 98ac75e3fa..498ee1d107 100644
--- a/src/gallium/drivers/trace/tr_drm.c
+++ b/src/gallium/drivers/trace/tr_drm.c
@@ -102,7 +102,7 @@ trace_drm_buffer_from_texture(struct drm_api *_api,
result = api->buffer_from_texture(api, texture, &buffer, stride);
if (result && _buffer)
- buffer = trace_buffer_create(trace_screen(texture->screen), buffer);
+ buffer = trace_buffer_create(trace_screen(_texture->screen), buffer);
if (_buffer)
*_buffer = buffer;