trace: Fix args to buffer write
authorJakob Bornecrantz <jakob@vmware.com>
Fri, 20 Mar 2009 22:06:05 +0000 (23:06 +0100)
committerJakob Bornecrantz <jakob@vmware.com>
Sun, 22 Mar 2009 03:33:36 +0000 (04:33 +0100)
src/gallium/drivers/trace/tr_screen.c

index 954576d721720a360ae68712fc58ac3fd819be23..c83ec4e30e61ee1193b49f59cef1e34009c953b6 100644 (file)
@@ -706,7 +706,7 @@ trace_screen_buffer_unmap(struct pipe_screen *_screen,
    struct pipe_buffer *buffer = tr_buf->buffer;
 
    if (tr_buf->map && !tr_buf->range_flushed)
-      buffer_write(screen, buffer, tr_buf->map, 0, buffer->size);
+      buffer_write(screen, buffer, 0, tr_buf->map, buffer->size);
    tr_buf->map = NULL;
    tr_buf->range_flushed = FALSE;
    screen->buffer_unmap(screen, buffer);