diff --git a/selfdrive/ui/qt/ui.cc b/selfdrive/ui/qt/ui.cc index 43396b7522..40ade50df0 100644 --- a/selfdrive/ui/qt/ui.cc +++ b/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();