From 0edb7f95c50f0012ae173b3fa42cebe2905f1826 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Tue, 22 Jun 2010 19:57:26 +0200 Subject: Add hints flag to device struct so that the interpreter doesn't need to load image resources for dev_text. --- draw/meshdraw.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'draw') diff --git a/draw/meshdraw.c b/draw/meshdraw.c index e07a1f7d..c0e219c4 100644 --- a/draw/meshdraw.c +++ b/draw/meshdraw.c @@ -238,7 +238,7 @@ fz_drawtriangle(fz_pixmap *pix, float *av, float *bv, float *cv, int n, fz_bbox copyvert(poly[1], bv, n); copyvert(poly[2], cv, n); - len = clippoly(poly, temp, 3, n, cx0, 0, 0); + len = clippoly(poly, temp, 3, n, cx0, 0, 0); len = clippoly(temp, poly, len, n, cx1, 0, 1); len = clippoly(poly, temp, len, n, cy0, 1, 0); len = clippoly(temp, poly, len, n, cy1, 1, 1); @@ -268,7 +268,7 @@ fz_drawtriangle(fz_pixmap *pix, float *av, float *bv, float *cv, int n, fz_bbox y = gel[top][1]; - if (findnext(gel, len, top, &s0, &e0, 1)) + if (findnext(gel, len, top, &s0, &e0, 1)) return; if (findnext(gel, len, top, &s1, &e1, -1)) return; -- cgit v1.2.3