util: Allow to define the maximum file size.

This avoids splitting the bitmaps in many files.
This commit is contained in:
José Fonseca
2008-09-08 22:56:38 +09:00
parent 1da0a13389
commit a4a739eb58
4 changed files with 40 additions and 16 deletions

View File

@@ -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;