summaryrefslogtreecommitdiff
path: root/navit/vehicle.c
diff options
context:
space:
mode:
authorSebastian Leske <sebastian.leske@sleske.name>2015-09-02 18:38:44 +0200
committerSebastian Leske <sebastian.leske@sleske.name>2015-09-06 14:31:09 +0200
commitbe4878e1fe39c53b09972586cb1d995a08e769e2 (patch)
tree415b5b3a23393fd113a06e294954491c8930ea99 /navit/vehicle.c
parent42caba9d22681549beffb35e5906d9a00dc5445c (diff)
downloadnavit-be4878e1fe39c53b09972586cb1d995a08e769e2.tar.gz
Refactor:remove param 'alpha' from graphics_overlay_new/resize
Diffstat (limited to 'navit/vehicle.c')
-rw-r--r--navit/vehicle.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/navit/vehicle.c b/navit/vehicle.c
index be8bd1bdd..a280fb024 100644
--- a/navit/vehicle.c
+++ b/navit/vehicle.c
@@ -339,7 +339,7 @@ vehicle_set_cursor(struct vehicle *this_, struct cursor *cursor, int overwrite)
if (cursor && this_->gra && this_->cursor) {
this_->cursor_pnt.x+=(this_->cursor->w - cursor->w)/2;
this_->cursor_pnt.y+=(this_->cursor->h - cursor->h)/2;
- graphics_overlay_resize(this_->gra, &this_->cursor_pnt, cursor->w, cursor->h, 65535, 0);
+ graphics_overlay_resize(this_->gra, &this_->cursor_pnt, cursor->w, cursor->h, 0);
}
if (cursor) {
@@ -382,7 +382,7 @@ vehicle_draw(struct vehicle *this_, struct graphics *gra, struct point *pnt, int
this_->cursor_pnt.y-=this_->cursor->h/2;
if (!this_->gra) {
struct color c;
- this_->gra=graphics_overlay_new(gra, &this_->cursor_pnt, this_->cursor->w, this_->cursor->h, 65535, 0);
+ this_->gra=graphics_overlay_new(gra, &this_->cursor_pnt, this_->cursor->w, this_->cursor->h, 0);
if (this_->gra) {
graphics_init(this_->gra);
this_->bg=graphics_gc_new(this_->gra);