From 9e91e3816d1cc5b0a69eebc49b391128d8f70646 Mon Sep 17 00:00:00 2001 From: malc Date: Tue, 24 May 2016 18:28:38 +0300 Subject: [PATCH] Sync with upstream --- BUILDING | 2 +- link.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/BUILDING b/BUILDING index 6d6ce1a..354acaf 100644 --- a/BUILDING +++ b/BUILDING @@ -11,7 +11,7 @@ Prerequisites for building from sources: llpp% git clone git://git.ghostscript.com/mupdf.git --recursive llpp% cd mupdf - mupdf% git checkout 321a6cbd2e4f3bd576ca0fd7a883f194742d0ec7 + mupdf% git checkout 9245cd0d2e353262ba518fb9f2e950bb74ad3c3e mupdf% git submodule update --recursive mupdf% make build=native mupdf% cd .. diff --git a/link.c b/link.c index 699aacb..a5107b7 100644 --- a/link.c +++ b/link.c @@ -785,12 +785,12 @@ static struct tile *rendertile (struct page *page, int x, int y, int w, int h, if (pbo) { tile->pixmap = fz_new_pixmap_with_bbox_and_data (state.ctx, state.colorspace, - &bbox, pbo->ptr); + &bbox, 1, pbo->ptr); tile->pbo = pbo; } else { tile->pixmap = - fz_new_pixmap_with_bbox (state.ctx, state.colorspace, &bbox); + fz_new_pixmap_with_bbox (state.ctx, state.colorspace, &bbox, 1); } } -- 2.11.4.GIT