projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ab95f38
)
trace: Unwrap buffer in texture_blanket
author
Jakob Bornecrantz
<jakob@vmware.com>
Sat, 16 May 2009 00:19:44 +0000
(
01:19
+0100)
committer
Jakob Bornecrantz
<jakob@vmware.com>
Sat, 16 May 2009 00:50:53 +0000
(
01:50
+0100)
src/gallium/drivers/trace/tr_screen.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/trace/tr_screen.c
b/src/gallium/drivers/trace/tr_screen.c
index e659416aba2bfd8e57072d6fe24e43ac0df94110..58855a8346094f41279ebcdebcdb7232f4de6226 100644
(file)
--- a/
src/gallium/drivers/trace/tr_screen.c
+++ b/
src/gallium/drivers/trace/tr_screen.c
@@
-212,10
+212,12
@@
static struct pipe_texture *
trace_screen_texture_blanket(struct pipe_screen *_screen,
const struct pipe_texture *templat,
const unsigned *ppitch,
- struct pipe_buffer *buffer)
+ struct pipe_buffer *
_
buffer)
{
struct trace_screen *tr_scr = trace_screen(_screen);
+ struct trace_buffer *tr_buf = trace_buffer(_buffer);
struct pipe_screen *screen = tr_scr->screen;
+ struct pipe_buffer *buffer = tr_buf->buffer;
unsigned pitch = *ppitch;
struct pipe_texture *result;