mirror of
https://github.com/sunnypilot/sunnypilot.git
synced 2026-07-10 18:22:06 +08:00
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user