Skip to content

Commit

Permalink
Working to fix new error - set global default format
Browse files Browse the repository at this point in the history
  • Loading branch information
RussellGarwood committed Feb 7, 2020
1 parent 9b76dd5 commit b620574
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions SPIERSview/src/gl3widget.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ GlWidget::GlWidget(QWidget *parent)
surfaceFormat.setRenderableType(QSurfaceFormat::OpenGL);
surfaceFormat.setProfile(QSurfaceFormat::CoreProfile);
setFormat(surfaceFormat);
QSurfaceFormat::setDefaultFormat(surfaceFormat);

// Create new GL scale grid
scaleGrid = new DrawGLScaleGrid(this);
Expand Down

0 comments on commit b620574

Please sign in to comment.