summaryrefslogtreecommitdiff
path: root/navit/graphics.c
diff options
context:
space:
mode:
authorsleske <sleske@ffa7fe5e-494d-0410-b361-a75ebd5db220>2015-01-25 13:35:47 +0000
committersleske <sleske@ffa7fe5e-494d-0410-b361-a75ebd5db220>2015-01-25 13:35:47 +0000
commit76efbd74b76062a5cffba5e7af87264ac7bf2ea2 (patch)
tree2d1054bd011efe93b68bae0533472610577bf836 /navit/graphics.c
parentf9d4de5a29528983d852dae1096a6bc6b1814ec6 (diff)
downloadnavit-76efbd74b76062a5cffba5e7af87264ac7bf2ea2.tar.gz
Fix:core:Remove unused draw modes draw_mode_begin_clear and draw_mode_cursor.
git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@6009 ffa7fe5e-494d-0410-b361-a75ebd5db220
Diffstat (limited to 'navit/graphics.c')
-rw-r--r--navit/graphics.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/navit/graphics.c b/navit/graphics.c
index d89d532d7..515154e51 100644
--- a/navit/graphics.c
+++ b/navit/graphics.c
@@ -2548,7 +2548,7 @@ void graphics_displaylist_draw(struct graphics *gra, struct displaylist *display
graphics_background_gc(gra, gra->gc[0]);
if (flags & 1)
callback_list_call_attr_0(gra->cbl, attr_predraw);
- gra->meth.draw_mode(gra->priv, (flags & 8)?draw_mode_begin_clear:draw_mode_begin);
+ gra->meth.draw_mode(gra->priv, draw_mode_begin);
if (!(flags & 2))
gra->meth.draw_rectangle(gra->priv, gra->gc[0]->priv, &gra->r.lu, gra->r.rl.x-gra->r.lu.x, gra->r.rl.y-gra->r.lu.y);
if (l) {