diff options
author | Laszlo Agocs <laszlo.agocs@theqtcompany.com> | 2015-08-24 13:40:45 +0200 |
---|---|---|
committer | Laszlo Agocs <laszlo.agocs@theqtcompany.com> | 2015-08-24 12:23:54 +0000 |
commit | b822587f6fe977f8216ab533d6249935bee13028 (patch) | |
tree | f220f66c4a4b29ddd053a0b2ef2192763826c9d8 /examples/qt3d/planets-qml | |
parent | 00948907ae7cd8af1b8067dd436d5969b4b210df (diff) |
Fix planets example on Linux
Not sure why the version is only set for OS X - requesting 2.0 core profile
is not ideal (as it's pretty wrong).
Change-Id: Ic82b9835e3057fa79ac246eb6e41481970ac9cd9
Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
Diffstat (limited to 'examples/qt3d/planets-qml')
-rw-r--r-- | examples/qt3d/planets-qml/main.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/examples/qt3d/planets-qml/main.cpp b/examples/qt3d/planets-qml/main.cpp index 9643e0054..02c43181f 100644 --- a/examples/qt3d/planets-qml/main.cpp +++ b/examples/qt3d/planets-qml/main.cpp @@ -44,9 +44,7 @@ int main(int argc, char **argv) QSurfaceFormat format; if (QOpenGLContext::openGLModuleType() == QOpenGLContext::LibGL) { -#ifdef Q_OS_OSX format.setVersion(3, 2); -#endif format.setProfile(QSurfaceFormat::CoreProfile); } format.setDepthBufferSize(24); |