diff options
author | martin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220> | 2009-01-26 11:43:19 +0000 |
---|---|---|
committer | martin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220> | 2009-01-26 11:43:19 +0000 |
commit | 28b866d519e3dc5f3819b200d1371af85003b3ee (patch) | |
tree | 877aaea00dc81202354005e715005ffef919d5fa /navit/popup.c | |
parent | 8c396a58552167b1ce5fa4dde0ffbef5878d1290 (diff) | |
download | navit-svn-28b866d519e3dc5f3819b200d1371af85003b3ee.tar.gz |
Add:Core:Made graphics rendering a background task to get better routing performance and avoid lagging
git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@1971 ffa7fe5e-494d-0410-b361-a75ebd5db220
Diffstat (limited to 'navit/popup.c')
-rw-r--r-- | navit/popup.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/navit/popup.c b/navit/popup.c index b277988b..d58de405 100644 --- a/navit/popup.c +++ b/navit/popup.c @@ -238,7 +238,7 @@ popup_display(struct navit *nav, void *popup, struct point *p) display=navit_get_displaylist(nav); dlh=graphics_displaylist_open(display); while ((di=graphics_displaylist_next(dlh))) { - if (graphics_displayitem_within_dist(di, p, 5)) { + if (graphics_displayitem_within_dist(display, di, p, 5)) { popup_show_item(nav, popup, di); } } |