util/u_debug: Cleanup/fix debug_dump_image.
authorJosé Fonseca <jfonseca@vmware.com>
Sun, 2 Dec 2012 18:57:53 +0000 (18:57 +0000)
committerJosé Fonseca <jfonseca@vmware.com>
Tue, 4 Dec 2012 19:35:19 +0000 (19:35 +0000)
commitde76101672a83fd7fda8033b2d5ec8c5b756707a
tree57b53360f0e6a12152b66451a3116b8353a87b71
parenta416a4a91dd167f9f018932b0a1c7045bfc08bd8
util/u_debug: Cleanup/fix debug_dump_image.

- Handle other formats.
- Prevent CRLF on Windows.

Reviewed-by: Brian Paul <brianp@vmware.com>
src/gallium/auxiliary/util/u_debug.c
src/gallium/auxiliary/util/u_debug.h