ui: force GLES context

old-commit-hash: 2410c7e26bbf60dda83792d273f049586c1aa001
This commit is contained in:
Willem Melching
2020-08-20 21:33:32 +02:00
parent 7525b2e4f6
commit 191d2e55d0
+4 -1
View File
@@ -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();