trace: Fix typo.
authorJosé Fonseca <jrfonseca@tungstengraphics.com>
Fri, 15 Aug 2008 10:20:57 +0000 (11:20 +0100)
committerJosé Fonseca <jrfonseca@tungstengraphics.com>
Fri, 15 Aug 2008 10:20:57 +0000 (11:20 +0100)
src/gallium/drivers/trace/tr_winsys.c

index c426211..120006e 100644 (file)
@@ -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;
    }