summaryrefslogtreecommitdiff
path: root/src/gallium/auxiliary/util/p_debug.c
diff options
context:
space:
mode:
authorJosé Fonseca <jrfonseca@tungstengraphics.com>2008-09-08 22:56:38 +0900
committerJosé Fonseca <jrfonseca@tungstengraphics.com>2008-09-08 22:56:38 +0900
commita4a739eb58f70368ef87c195ea77629c1526e71f (patch)
tree4a68cb3dc053d84e7e21d675b86a678b8dd54141 /src/gallium/auxiliary/util/p_debug.c
parent1da0a13389ce9709586058a8807c0c4120e520a2 (diff)
util: Allow to define the maximum file size.
This avoids splitting the bitmaps in many files.
Diffstat (limited to 'src/gallium/auxiliary/util/p_debug.c')
-rw-r--r--src/gallium/auxiliary/util/p_debug.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/auxiliary/util/p_debug.c b/src/gallium/auxiliary/util/p_debug.c
index 131e9b026c..b6cff281e6 100644
--- a/src/gallium/auxiliary/util/p_debug.c
+++ b/src/gallium/auxiliary/util/p_debug.c
@@ -657,7 +657,7 @@ debug_dump_surface_bmp(const char *filename,
bmih.biClrUsed = 0;
bmih.biClrImportant = 0;
- stream = util_stream_create(filename);
+ stream = util_stream_create(filename, bmfh.bfSize);
if(!stream)
goto error2;