diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2011-09-12 15:49:13 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2011-09-12 15:49:13 +0100 |
commit | 4f2c7b8cf8cf85c485b5a41ab5bc6c589d347eaa (patch) | |
tree | 5ff321ab191d703a27b827b88eaf9d4a3abcc7a3 /src/cairo-mono-scan-converter.c | |
parent | a6a48e05597e700df74384a5063f787de45a8d83 (diff) | |
download | cairo-4f2c7b8cf8cf85c485b5a41ab5bc6c589d347eaa.tar.gz |
mono-scan-converter: Decrement height as we skip straight edges
Fixes paint-clip-fill-mono.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/cairo-mono-scan-converter.c')
-rw-r--r-- | src/cairo-mono-scan-converter.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cairo-mono-scan-converter.c b/src/cairo-mono-scan-converter.c index 98b7631fb..52cd93530 100644 --- a/src/cairo-mono-scan-converter.c +++ b/src/cairo-mono-scan-converter.c @@ -497,7 +497,7 @@ mono_scan_converter_render(struct mono_scan_converter *c, e = e->next; } - while (min_height >= 2 && polygon->y_buckets[j] == NULL) + while (--min_height >= 1 && polygon->y_buckets[j] == NULL) j++; if (j != i + 1) step_edges (c, j - (i + 1)); |