diff --git a/cereal b/cereal index 32eae5e80d..28d458a9af 160000 --- a/cereal +++ b/cereal @@ -1 +1 @@ -Subproject commit 32eae5e80deb4d9b0f1422c1d0f5846e5b26144a +Subproject commit 28d458a9af49b38bd0a9052f09fbe927324320fb diff --git a/selfdrive/ui/watch3.cc b/selfdrive/ui/watch3.cc index 73c8e11318..aeabfe110e 100644 --- a/selfdrive/ui/watch3.cc +++ b/selfdrive/ui/watch3.cc @@ -6,9 +6,7 @@ #include "selfdrive/ui/qt/widgets/cameraview.h" int main(int argc, char *argv[]) { - QSurfaceFormat fmt; - fmt.setRenderableType(QSurfaceFormat::OpenGLES); - QSurfaceFormat::setDefaultFormat(fmt); + setQtSurfaceFormat(); QApplication a(argc, argv); QWidget w;