Clean up code

old-commit-hash: 32fa49e093
commatwo_master
Vehicle Researcher 8 years ago
parent a860c41724
commit b33605d7f8
  1. 2
      selfdrive/ui/ui.c

@ -771,7 +771,7 @@ static void ui_draw_vision(UIState *s) {
nvgFillColor(s->vg, nvgRGBA(10, 10, 10, 220)); nvgFillColor(s->vg, nvgRGBA(10, 10, 10, 220));
nvgFill(s->vg); nvgFill(s->vg);
nvgFontSize(s->vg, 200.0f); nvgFontSize(s->vg, 200.0f);
nvgFillColor(s->vg, nvgRGBA(255, 0, 0, 255)); nvgFillColor(s->vg, nvgRGBA(255, 0, 0, 255));
nvgTextAlign(s->vg, NVG_ALIGN_CENTER | NVG_ALIGN_TOP); nvgTextAlign(s->vg, NVG_ALIGN_CENTER | NVG_ALIGN_TOP);
nvgTextBox(s->vg, 100 + 50, 200 + 50, 1700 - 50, scene->alert_text1, nvgTextBox(s->vg, 100 + 50, 200 + 50, 1700 - 50, scene->alert_text1,

Loading…
Cancel
Save