diff options
author | martin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220> | 2013-01-21 11:21:39 +0000 |
---|---|---|
committer | martin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220> | 2013-01-21 11:21:39 +0000 |
commit | 675b06fe6629786190fab870b3e212a5bd584bb6 (patch) | |
tree | 68bd080bea1b69572e163d32932cf01e60c33130 /navit/vehicle.c | |
parent | 0e261711bc4e8d14ad70d5363b04a4aafe5a0e54 (diff) | |
download | navit-svn-675b06fe6629786190fab870b3e212a5bd584bb6.tar.gz |
Fix:Core:Make images in cursors work again
git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@5351 ffa7fe5e-494d-0410-b361-a75ebd5db220
Diffstat (limited to 'navit/vehicle.c')
-rw-r--r-- | navit/vehicle.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/navit/vehicle.c b/navit/vehicle.c index 7e49a6d1..757f1eea 100644 --- a/navit/vehicle.c +++ b/navit/vehicle.c @@ -373,6 +373,7 @@ vehicle_draw(struct vehicle *this_, struct graphics *gra, struct point *pnt, int struct color c; this_->gra=graphics_overlay_new(gra, &this_->cursor_pnt, this_->cursor->w, this_->cursor->h, 65535, 0); if (this_->gra) { + graphics_init(this_->gra); this_->bg=graphics_gc_new(this_->gra); c.r=0; c.g=0; c.b=0; c.a=0; graphics_gc_set_foreground(this_->bg, &c); |