summaryrefslogtreecommitdiff
path: root/ios
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2012-02-07 00:30:17 +0100
committerTor Andersson <tor@ccxvii.net>2012-02-07 00:30:17 +0100
commit409020b21a2d822b57f3494eda355f5aca62dc2e (patch)
tree56bc17c7442773cbd6ad960023efe2c15b14d5a9 /ios
parent5cd45b68ad936006f3783abbcc064658d5e3508a (diff)
downloadmupdf-409020b21a2d822b57f3494eda355f5aca62dc2e.tar.xz
Rename a few functions.
Diffstat (limited to 'ios')
-rw-r--r--ios/main.m4
1 files changed, 2 insertions, 2 deletions
diff --git a/ios/main.m b/ios/main.m
index aa6a667a..fa85178d 100644
--- a/ios/main.m
+++ b/ios/main.m
@@ -217,7 +217,7 @@ static UIImage *renderPage(struct document *doc, int number, CGSize screenSize)
bbox = (fz_bbox){0, 0, pageSize.width * scale.width, pageSize.height * scale.height};
pix = fz_new_pixmap_with_rect(ctx, fz_device_rgb, bbox);
- fz_clear_pixmap_with_color(pix, 255);
+ fz_clear_pixmap_with_value(pix, 255);
dev = fz_new_draw_device(ctx, pix);
draw_page(doc, number, dev, ctm, NULL);
@@ -254,7 +254,7 @@ static UIImage *renderTile(struct document *doc, int number, CGSize screenSize,
bbox = fz_round_rect(rect);
pix = fz_new_pixmap_with_rect(ctx, fz_device_rgb, bbox);
- fz_clear_pixmap_with_color(pix, 255);
+ fz_clear_pixmap_with_value(pix, 255);
dev = fz_new_draw_device(ctx, pix);
draw_page(doc, number, dev, ctm, NULL);