mirror of
https://github.com/lubosz/overte.git
synced 2025-04-24 00:13:53 +02:00
Merge pull request #9075 from ZappoMan/fixMacOpenGL
fix for mac min openGL version
This commit is contained in:
commit
0cd70e90c7
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