Fix watch3 on mac (#23834)

pull/23836/head
Willem Melching 3 years ago committed by GitHub
parent dc7de79dc9
commit a03685c3f9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      cereal
  2. 4
      selfdrive/ui/watch3.cc

@ -1 +1 @@
Subproject commit 32eae5e80deb4d9b0f1422c1d0f5846e5b26144a Subproject commit 28d458a9af49b38bd0a9052f09fbe927324320fb

@ -6,9 +6,7 @@
#include "selfdrive/ui/qt/widgets/cameraview.h" #include "selfdrive/ui/qt/widgets/cameraview.h"
int main(int argc, char *argv[]) { int main(int argc, char *argv[]) {
QSurfaceFormat fmt; setQtSurfaceFormat();
fmt.setRenderableType(QSurfaceFormat::OpenGLES);
QSurfaceFormat::setDefaultFormat(fmt);
QApplication a(argc, argv); QApplication a(argc, argv);
QWidget w; QWidget w;

Loading…
Cancel
Save