diff options
author | Brian Paul <[email protected]> | 2013-03-28 17:17:26 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2013-03-28 17:17:26 -0600 |
commit | b54ce3738acbdb569d25d3da5bc334cef287f694 (patch) | |
tree | 482d01a32b01864c74c77d05d7094158795de834 /src/gallium | |
parent | e90c56bc4eb6d6f33861eb1b89ee9127e361e407 (diff) |
llvmpipe: put .bmp extension on dumped image files
Diffstat (limited to 'src/gallium')
-rw-r--r-- | src/gallium/drivers/svga/svga_pipe_flush.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/drivers/svga/svga_pipe_flush.c b/src/gallium/drivers/svga/svga_pipe_flush.c index 353723df58a..a6048d9b492 100644 --- a/src/gallium/drivers/svga/svga_pipe_flush.c +++ b/src/gallium/drivers/svga/svga_pipe_flush.c @@ -56,12 +56,12 @@ static void svga_flush( struct pipe_context *pipe, unsigned i; for (i = 0; i < fb->nr_cbufs; i++) { - util_snprintf(filename, sizeof(filename), "cbuf%u_%04u", i, frame_no); + util_snprintf(filename, sizeof(filename), "cbuf%u_%04u.bmp", i, frame_no); debug_dump_surface_bmp(&svga->pipe, filename, fb->cbufs[i]); } if (0 && fb->zsbuf) { - util_snprintf(filename, sizeof(filename), "zsbuf_%04u", frame_no); + util_snprintf(filename, sizeof(filename), "zsbuf_%04u.bmp", frame_no); debug_dump_surface_bmp(&svga->pipe, filename, fb->zsbuf); } |