diff options
author | Jakob Bornecrantz <[email protected]> | 2009-08-05 18:55:57 +0100 |
---|---|---|
committer | Jakob Bornecrantz <[email protected]> | 2009-08-05 19:29:29 +0100 |
commit | 1f9ee623d185aea24195ffaefd77b953eefea107 (patch) | |
tree | b70462efd80952fccaad17d58f3633f78e99b5d4 | |
parent | 6160c8be5748455574ddde8ac373e14d86c4f3a9 (diff) |
trace: Use correct texture in drm_api wrapper
-rw-r--r-- | src/gallium/drivers/trace/tr_drm.c | 2 |
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 98ac75e3fa3..498ee1d1073 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; |