summaryrefslogtreecommitdiff
path: root/navit/graphics.c
diff options
context:
space:
mode:
authorsleske <sleske@ffa7fe5e-494d-0410-b361-a75ebd5db220>2013-03-19 21:27:24 +0000
committersleske <sleske@ffa7fe5e-494d-0410-b361-a75ebd5db220>2013-03-19 21:27:24 +0000
commit8209bf91664d4c097780318f1946998cc7697400 (patch)
tree0bf2ad4c3467abbb3332deae2fbbc12a48e1e359 /navit/graphics.c
parent950bdce4b10d685c958c208d2bc15d9abc82565e (diff)
downloadnavit-svn-8209bf91664d4c097780318f1946998cc7697400.tar.gz
Fix:core:Clean up debugging.
git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@5419 ffa7fe5e-494d-0410-b361-a75ebd5db220
Diffstat (limited to 'navit/graphics.c')
-rw-r--r--navit/graphics.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/navit/graphics.c b/navit/graphics.c
index f8057c73..56a924d5 100644
--- a/navit/graphics.c
+++ b/navit/graphics.c
@@ -1638,8 +1638,10 @@ graphics_draw_polyline_clipped(struct graphics *gra, struct graphics_gc *gc, str
segment_end.x=pa[i].x;
segment_end.y=pa[i].y;
segment_end.w=width[i];
+ dbg(3, "Segment: [%d, %d] - [%d, %d]...\n", segment_start.x, segment_start.y, segment_end.x, segment_end.y);
clip_result=clip_line(&segment_start, &segment_end, &r);
if (clip_result != CLIPRES_INVISIBLE) {
+ dbg(3, "....clipped to [%d, %d] - [%d, %d]\n", segment_start.x, segment_start.y, segment_end.x, segment_end.y);
if ((i == 1) || (clip_result & CLIPRES_START_CLIPPED)) {
points_to_draw[points_to_draw_cnt].x=segment_start.x;
points_to_draw[points_to_draw_cnt].y=segment_start.y;