diff --git a/selfdrive/ui/qt/onroad.cc b/selfdrive/ui/qt/onroad.cc index db4508b..8db8372 100644 --- a/selfdrive/ui/qt/onroad.cc +++ b/selfdrive/ui/qt/onroad.cc @@ -114,7 +114,7 @@ void OnroadWindow::updateState(const UIState &s) { if (bg != bgColor) { bg = bgColor; - nvg.updateLaneEdgeColor(bg); + nvg->updateLaneEdgeColor(bg); update(); } }