summaryrefslogtreecommitdiff
path: root/draw
diff options
context:
space:
mode:
authorTor Andersson <tor@ghostscript.com>2010-06-22 19:57:26 +0200
committerTor Andersson <tor@ghostscript.com>2010-06-22 19:57:26 +0200
commit0edb7f95c50f0012ae173b3fa42cebe2905f1826 (patch)
tree94480fda293955fe7a6aa253e5dadd178a0798f8 /draw
parent7c2008556ad928cfa2845f1532c63dfdedbd768b (diff)
downloadmupdf-0edb7f95c50f0012ae173b3fa42cebe2905f1826.tar.xz
Add hints flag to device struct so that the interpreter doesn't need to load image resources for dev_text.
Diffstat (limited to 'draw')
-rw-r--r--draw/meshdraw.c4
1 files changed, 2 insertions, 2 deletions
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;