projects
/
profile
/
ivi
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a1f5c46
)
llvmpipe: fix incorrect array index in image dump code
author
Brian Paul
<brianp@vmware.com>
Mon, 31 Jan 2011 21:09:17 +0000
(14:09 -0700)
committer
Brian Paul
<brianp@vmware.com>
Mon, 31 Jan 2011 21:09:24 +0000
(14:09 -0700)
src/gallium/drivers/llvmpipe/lp_flush.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/llvmpipe/lp_flush.c
b/src/gallium/drivers/llvmpipe/lp_flush.c
index
85e3cde
..
849db06
100644
(file)
--- 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) {