summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pixman/pixman-polygon.c11
1 files changed, 4 insertions, 7 deletions
diff --git a/pixman/pixman-polygon.c b/pixman/pixman-polygon.c
index bd777381..f73637a4 100644
--- a/pixman/pixman-polygon.c
+++ b/pixman/pixman-polygon.c
@@ -1510,19 +1510,16 @@ trap_iter_get_strip (trap_iter_t *iter)
if (event->common.type == CLIP)
{
dir += event->clip.dir;
+ continue;
}
else
{
done = TRUE;
- goto insert;
}
}
- else
- {
- insert:
- event_queue_insert_internal (
- iter->queue, key->y_value, key->event);
- }
+
+ event_queue_insert_internal (
+ iter->queue, key->y_value, key->event);
}
event_queue_put_min_bucket (iter->queue, bucket);