ui: force GLES context

pull/2052/head
Willem Melching 5 years ago
parent 85ba6e0e2f
commit 2410c7e26b
  1. 5
      selfdrive/ui/qt/ui.cc

@ -4,10 +4,13 @@
int main(int argc, char *argv[])
{
QSurfaceFormat fmt;
fmt.setRenderableType(QSurfaceFormat::OpenGLES);
QSurfaceFormat::setDefaultFormat(fmt);
QApplication a(argc, argv);
MainWindow w;
w.setFixedSize(vwp_w, vwp_h);
w.show();

Loading…
Cancel
Save