mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-04 14:08:05 +02:00
llvmpipe: put .bmp extension on dumped image files
This commit is contained in:
parent
e90c56bc4e
commit
b54ce3738a
1 changed files with 2 additions and 2 deletions
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue