summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorTor Andersson <tor.andersson@artifex.com>2015-12-15 11:31:36 +0100
committerTor Andersson <tor.andersson@artifex.com>2015-12-15 14:11:10 +0100
commit3afdcd7307fd5e68f35c7bb91a4d856499f1df44 (patch)
tree13253bb6d7af2716f882e878be956fa157544ec6 /docs
parent88a1d527a50e3cc48606ce097a335669ae84a716 (diff)
downloadmupdf-3afdcd7307fd5e68f35c7bb91a4d856499f1df44.tar.xz
Rename fz_write_x to fz_save_pixmap_as_x or fz_save_bitmap_as_x.
Separate naming of functions that save complete files to disk from functions that write data to streams.
Diffstat (limited to 'docs')
-rw-r--r--docs/multi-threaded.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/multi-threaded.c b/docs/multi-threaded.c
index 98932819..eb66db07 100644
--- a/docs/multi-threaded.c
+++ b/docs/multi-threaded.c
@@ -263,7 +263,7 @@ int main(int argc, char **argv)
// Write the rendered image to a PNG file
- fz_write_png(ctx, data->pix, filename, 0);
+ fz_save_pixmap_as_png(ctx, data->pix, filename, 0);
// Free the thread's pixmap and display list since
// they were allocated by the main thread above.