From d5394cbcf3a98dcabc49264172d4ce6618535d91 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Mon, 28 Dec 2015 15:18:21 +0100 Subject: Remove fz_page argument from fz_annot function calls. --- platform/gl/gl-main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'platform/gl') 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); } -- cgit v1.2.3