summaryrefslogtreecommitdiff
path: root/doc/multi-threaded.c
diff options
context:
space:
mode:
Diffstat (limited to 'doc/multi-threaded.c')
-rw-r--r--doc/multi-threaded.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/multi-threaded.c b/doc/multi-threaded.c
index b54beb81..af4bab97 100644
--- a/doc/multi-threaded.c
+++ b/doc/multi-threaded.c
@@ -201,7 +201,7 @@ int main(int argc, char **argv)
// Create a white pixmap using the correct dimensions.
- fz_pixmap *pix = fz_new_pixmap_with_bbox(ctx, fz_device_rgb, bbox);
+ fz_pixmap *pix = fz_new_pixmap_with_bbox(ctx, fz_device_rgb, fz_round_rect(bbox));
fz_clear_pixmap_with_value(ctx, pix, 0xff);
// Populate the data structure to be sent to the