summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJosé Fonseca <jrfonseca@tungstengraphics.com>2008-08-15 11:20:57 +0100
committerJosé Fonseca <jrfonseca@tungstengraphics.com>2008-08-15 11:20:57 +0100
commit9d58b2a432d44fc2861f2df1a611188f92dc288f (patch)
tree9fb42b83e37a6492e935e3eff6352b5296a423d7 /src
parent52ecb8f56368180b5dec303d1d77a8d0596aaef7 (diff)
trace: Fix typo.
Diffstat (limited to 'src')
-rw-r--r--src/gallium/drivers/trace/tr_winsys.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/trace/tr_winsys.c b/src/gallium/drivers/trace/tr_winsys.c
index c426211408..120006ea9f 100644
--- a/src/gallium/drivers/trace/tr_winsys.c
+++ b/src/gallium/drivers/trace/tr_winsys.c
@@ -80,7 +80,7 @@ trace_winsys_flush_frontbuffer(struct pipe_winsys *_winsys,
assert(surface);
if(surface->texture) {
struct trace_screen *tr_scr = trace_screen(surface->texture->screen);
- struct trace_screen *tr_tex = trace_texture(tr_scr, surface->texture);
+ struct trace_texture *tr_tex = trace_texture(tr_scr, surface->texture);
struct trace_surface *tr_surf = trace_surface(tr_tex, surface);
surface = tr_surf->surface;
}