mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-25 21:35:04 +02:00
fix for mac min openGL version
This commit is contained in:
parent
86430e4121
commit
5dd33c8dce
1 changed files with 2 additions and 1 deletions
|
@ -50,7 +50,8 @@ QJsonObject OpenGLVersionChecker::checkVersion(bool& valid, bool& override) {
|
|||
valid = true;
|
||||
override = false;
|
||||
|
||||
QGLWidget* glWidget = new QGLWidget();
|
||||
QGLWidget* glWidget = new QGLWidget(getDefaultGLFormat());
|
||||
|
||||
valid = glWidget->isValid();
|
||||
// Inform user if no OpenGL support
|
||||
if (!valid) {
|
||||
|
|
Loading…
Reference in a new issue