fix default size

This commit is contained in:
ccolin 2021-11-04 17:12:59 +01:00
parent b17f1bfb52
commit e0c78d1f63

View File

@ -67,6 +67,7 @@ public:
OpenGLWidget(QWidget *parent=nullptr);
~OpenGLWidget();
QSize sizeHint() const { return {640, 480}; }
void initializeGL() override;
void resizeGL(int w, int h) override;
void paintGL() override;