diff options
author | Tor Andersson <tor.andersson@artifex.com> | 2015-12-28 15:18:21 +0100 |
---|---|---|
committer | Tor Andersson <tor.andersson@artifex.com> | 2016-01-05 14:47:37 +0100 |
commit | d5394cbcf3a98dcabc49264172d4ce6618535d91 (patch) | |
tree | 9cf89de9fa95ddc14ffdb78d2dd8ff25d7d480cd /platform/gl | |
parent | cc4bd1b4f82a67f70c7ccad4da874d6e7451eeae (diff) | |
download | mupdf-d5394cbcf3a98dcabc49264172d4ce6618535d91.tar.xz |
Remove fz_page argument from fz_annot function calls.
Diffstat (limited to 'platform/gl')
-rw-r--r-- | platform/gl/gl-main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/platform/gl/gl-main.c b/platform/gl/gl-main.c index 80efbeb4..ef95246d 100644 --- a/platform/gl/gl-main.c +++ b/platform/gl/gl-main.c @@ -266,9 +266,9 @@ void render_page(void) fz_drop_pixmap(ctx, pix); annot_count = 0; - for (annot = fz_first_annot(ctx, page); annot; annot = fz_next_annot(ctx, page, annot)) + for (annot = fz_first_annot(ctx, page); annot; annot = fz_next_annot(ctx, annot)) { - pix = fz_new_pixmap_from_annot(ctx, page, annot, &page_ctm, fz_device_rgb(ctx)); + pix = fz_new_pixmap_from_annot(ctx, annot, &page_ctm, fz_device_rgb(ctx)); texture_from_pixmap(&annot_tex[annot_count++], pix); fz_drop_pixmap(ctx, pix); } |