Sfoglia il codice sorgente

llvmpipe: put .bmp extension on dumped image files

tags/mesa-9.2-rc1
Brian Paul 12 anni fa
parent
commit
b54ce3738a
1 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  1. 2
    2
      src/gallium/drivers/svga/svga_pipe_flush.c

+ 2
- 2
src/gallium/drivers/svga/svga_pipe_flush.c Vedi File

@@ -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…
Annulla
Salva