rend la fenêtre plus grande par défaut
This commit is contained in:
parent
df2c318429
commit
fd19984bcf
@ -42,6 +42,11 @@ MeshViewer::MeshViewer(QWidget *parent) : QOpenGLWidget(parent) {
|
||||
}
|
||||
|
||||
|
||||
QSize MeshViewer::sizeHint() const {
|
||||
return QSize(640, 480);
|
||||
}
|
||||
|
||||
|
||||
void GLAPIENTRY
|
||||
opengl_debug_cb(GLenum source,
|
||||
GLenum type,
|
||||
|
@ -33,6 +33,7 @@ class MeshViewer : public QOpenGLWidget {
|
||||
|
||||
public:
|
||||
MeshViewer(QWidget *parent=nullptr);
|
||||
virtual QSize sizeHint() const override;
|
||||
void initializeGL() override;
|
||||
void resizeGL(int w, int h) override;
|
||||
void paintGL() override;
|
||||
|
Loading…
Reference in New Issue
Block a user