fix default size
This commit is contained in:
parent
b17f1bfb52
commit
e0c78d1f63
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user