diff options
author | Brian Paul <brianp@vmware.com> | 2011-01-31 14:09:17 -0700 |
---|---|---|
committer | Brian Paul <brianp@vmware.com> | 2011-01-31 14:09:24 -0700 |
commit | a8c144a388a5c7275d8d223c5508c66a0612a1b0 (patch) | |
tree | 166dc5cd4c9f4fcae9268a3af4a09da6854895b2 /src/gallium/drivers | |
parent | a1f5c46d24ed9952d5643364d2814425002b5690 (diff) |
llvmpipe: fix incorrect array index in image dump code
Diffstat (limited to 'src/gallium/drivers')
-rw-r--r-- | src/gallium/drivers/llvmpipe/lp_flush.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/llvmpipe/lp_flush.c b/src/gallium/drivers/llvmpipe/lp_flush.c index 85e3cdec82..849db06acd 100644 --- a/src/gallium/drivers/llvmpipe/lp_flush.c +++ b/src/gallium/drivers/llvmpipe/lp_flush.c @@ -72,7 +72,7 @@ llvmpipe_flush( struct pipe_context *pipe, for (i = 0; i < llvmpipe->framebuffer.nr_cbufs; i++) { util_snprintf(filename, sizeof(filename), "cbuf%u_%u", i, frame_no); - debug_dump_surface_bmp(&llvmpipe->pipe, filename, llvmpipe->framebuffer.cbufs[0]); + debug_dump_surface_bmp(&llvmpipe->pipe, filename, llvmpipe->framebuffer.cbufs[i]); } if (0) { |