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 c42621140821ccad7758d12de1ba60b1ff24e992..120006ea9f095b39ae4f4bb0bf26d785e545dcd0 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;
    }